@banta/sdk 3.1.1 → 3.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7929,6 +7929,8 @@
7929
7929
  return false;
7930
7930
  if (!this.user.permissions)
7931
7931
  return true;
7932
+ if (!this.user.permissions.canChat)
7933
+ return true;
7932
7934
  return (_a = this.user.permissions) === null || _a === void 0 ? void 0 : _a.canChat(this.source);
7933
7935
  },
7934
7936
  enumerable: false,
@@ -8559,6 +8561,8 @@
8559
8561
  return false;
8560
8562
  if (!this.user.permissions)
8561
8563
  return true;
8564
+ if (!this.user.permissions.canComment)
8565
+ return true;
8562
8566
  return (_a = this.user.permissions) === null || _a === void 0 ? void 0 : _a.canComment(this.source);
8563
8567
  },
8564
8568
  enumerable: false,