Просмотр исходного кода

[bugfix] restored capacity informations

B Thibault 8 лет назад
Родитель
Сommit
ac232e2b26
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      srv/src/context.js

+ 1 - 1
srv/src/context.js

@@ -242,7 +242,7 @@ ChatContext.prototype.toStatic = function(t) {
         }
         ,"emojis": this.emojis.version > t ? this.emojis.data : undefined
     };
-    if (t) {
+    if (this.staticV > t) {
         res["capacities"] = Object.keys(this.capacities);
     }
     if (this.commands.version > t) {