Bläddra i källkod

[bugfix] restored capacity informations

B Thibault 8 år sedan
förälder
incheckning
ac232e2b26
1 ändrade filer med 1 tillägg och 1 borttagningar
  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) {