stream-chat-angular 4.39.1 → 4.39.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.
- package/assets/version.d.ts +1 -1
- package/bundles/stream-chat-angular.umd.js +5 -2
- package/bundles/stream-chat-angular.umd.js.map +1 -1
- package/esm2015/assets/version.js +2 -2
- package/esm2015/lib/channel.service.js +7 -4
- package/fesm2015/stream-chat-angular.js +7 -4
- package/fesm2015/stream-chat-angular.js.map +1 -1
- package/package.json +1 -1
- package/src/assets/version.ts +1 -1
|
@@ -20,7 +20,7 @@ import transliterate from '@stream-io/transliterate';
|
|
|
20
20
|
import * as i8 from 'angular-mentions';
|
|
21
21
|
import { MentionModule } from 'angular-mentions';
|
|
22
22
|
|
|
23
|
-
const version = '4.39.
|
|
23
|
+
const version = '4.39.2';
|
|
24
24
|
|
|
25
25
|
/**
|
|
26
26
|
* The `NotificationService` can be used to add or remove notifications. By default the [`NotificationList`](../components/NotificationListComponent.mdx) component displays the currently active notifications.
|
|
@@ -1010,9 +1010,12 @@ class ChannelService {
|
|
|
1010
1010
|
this.activeChannelSubscriptions.push(channel.on('message.new', (event) => {
|
|
1011
1011
|
this.ngZone.run(() => {
|
|
1012
1012
|
event.message && event.message.parent_id
|
|
1013
|
-
?
|
|
1014
|
-
|
|
1015
|
-
|
|
1013
|
+
? event.message.parent_id ===
|
|
1014
|
+
this.activeParentMessageIdSubject.getValue()
|
|
1015
|
+
? this.activeThreadMessagesSubject.next([
|
|
1016
|
+
...channel.state.threads[event.message.parent_id],
|
|
1017
|
+
])
|
|
1018
|
+
: null
|
|
1016
1019
|
: this.activeChannelMessagesSubject.next([
|
|
1017
1020
|
...channel.state.messages,
|
|
1018
1021
|
]);
|