stream-chat-angular 4.64.0 → 4.64.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/assets/version.d.ts +1 -1
- package/bundles/stream-chat-angular.umd.js +4 -4
- package/bundles/stream-chat-angular.umd.js.map +1 -1
- package/esm2015/assets/version.js +2 -2
- package/esm2015/lib/channel-preview/channel-preview.component.js +4 -4
- package/fesm2015/stream-chat-angular.js +4 -4
- package/fesm2015/stream-chat-angular.js.map +1 -1
- package/lib/channel-preview/channel-preview.component.d.ts +3 -3
- package/package.json +1 -1
- package/src/assets/version.ts +1 -1
package/assets/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "4.64.
|
|
1
|
+
export declare const version = "4.64.1";
|
|
@@ -356,7 +356,7 @@
|
|
|
356
356
|
return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
|
|
357
357
|
}
|
|
358
358
|
|
|
359
|
-
var version = '4.64.
|
|
359
|
+
var version = '4.64.1';
|
|
360
360
|
|
|
361
361
|
/**
|
|
362
362
|
* The `NotificationService` can be used to add or remove notifications. By default the [`NotificationList`](../components/NotificationListComponent.mdx) component displays the currently active notifications.
|
|
@@ -5918,11 +5918,11 @@
|
|
|
5918
5918
|
_this.latestMessageText = 'streamChat.Nothing yet...';
|
|
5919
5919
|
return;
|
|
5920
5920
|
}
|
|
5921
|
-
|
|
5922
|
-
|
|
5921
|
+
var latestMessage = (_b = _this.channel) === null || _b === void 0 ? void 0 : _b.state.latestMessages[((_c = _this.channel) === null || _c === void 0 ? void 0 : _c.state.latestMessages.length) - 1];
|
|
5922
|
+
if (!event.message || (latestMessage === null || latestMessage === void 0 ? void 0 : latestMessage.id) !== event.message.id) {
|
|
5923
5923
|
return;
|
|
5924
5924
|
}
|
|
5925
|
-
_this.setLatestMessage(
|
|
5925
|
+
_this.setLatestMessage(latestMessage);
|
|
5926
5926
|
_this.updateUnreadState();
|
|
5927
5927
|
});
|
|
5928
5928
|
};
|