فهرست منبع

[bugfix] restored capacity informations

B Thibault 8 سال پیش
والد
کامیت
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) {