Преглед на файлове

feat(identity): add region identity parsing

dev1
hmuresan преди 4 години
родител
ревизия
febd9087b9
променени са 1 файла, в които са добавени 4 реда и са изтрити 0 реда
  1. 4
    0
      modules/xmpp/xmpp.js

+ 4
- 0
modules/xmpp/xmpp.js Целия файл

@@ -445,6 +445,10 @@ export default class XMPP extends Listenable {
445 445
             if (identity.type === 'shard') {
446 446
                 this.options.deploymentInfo.shard = this.connection.shard = identity.name;
447 447
             }
448
+
449
+            if (identity.type === 'region') {
450
+                this.options.deploymentInfo.region = this.connection.region = identity.name;
451
+            }
448 452
         });
449 453
 
450 454
         if (this.avModerationComponentAddress

Loading…
Отказ
Запис