stream-chat 8.40.0 → 8.40.1
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.
- package/dist/browser.es.js +2 -3
- package/dist/browser.es.js.map +1 -1
- package/dist/browser.full-bundle.min.js +1 -1
- package/dist/browser.full-bundle.min.js.map +1 -1
- package/dist/browser.js +2 -3
- package/dist/browser.js.map +1 -1
- package/dist/index.es.js +2 -3
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +2 -3
- package/dist/index.js.map +1 -1
- package/dist/types/channel.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/channel.ts +0 -1
package/dist/browser.js
CHANGED
|
@@ -3614,8 +3614,7 @@ var Channel = /*#__PURE__*/function () {
|
|
|
3614
3614
|
if (message.silent) return false;
|
|
3615
3615
|
if (message.parent_id && !message.show_in_channel) return false;
|
|
3616
3616
|
if (((_message$user = message.user) === null || _message$user === void 0 ? void 0 : _message$user.id) === this.getClient().userID) return false;
|
|
3617
|
-
if ((_message$user2 = message.user) !== null && _message$user2 !== void 0 && _message$user2.id && this.getClient().userMuteStatus(message.user.id)) return false;
|
|
3618
|
-
if (message.type === 'system') return false; // Return false if channel doesn't allow read events.
|
|
3617
|
+
if ((_message$user2 = message.user) !== null && _message$user2 !== void 0 && _message$user2.id && this.getClient().userMuteStatus(message.user.id)) return false; // Return false if channel doesn't allow read events.
|
|
3619
3618
|
|
|
3620
3619
|
if (Array.isArray((_this$data4 = this.data) === null || _this$data4 === void 0 ? void 0 : _this$data4.own_capabilities) && !((_this$data5 = this.data) !== null && _this$data5 !== void 0 && _this$data5.own_capabilities.includes('read-events'))) return false; // FIXME: see #1265, adjust and count new messages even when the channel is muted
|
|
3621
3620
|
|
|
@@ -13288,7 +13287,7 @@ var StreamChat = /*#__PURE__*/function () {
|
|
|
13288
13287
|
}, {
|
|
13289
13288
|
key: "getUserAgent",
|
|
13290
13289
|
value: function getUserAgent() {
|
|
13291
|
-
return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.40.
|
|
13290
|
+
return this.userAgent || "stream-chat-javascript-client-".concat(this.node ? 'node' : 'browser', "-", "8.40.1");
|
|
13292
13291
|
}
|
|
13293
13292
|
}, {
|
|
13294
13293
|
key: "setUserAgent",
|