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.
@@ -1 +1 @@
1
- export declare const version = "4.39.1";
1
+ export declare const version = "4.39.2";
@@ -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.39.1';
359
+ var version = '4.39.2';
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.
@@ -1602,7 +1602,10 @@
1602
1602
  this.activeChannelSubscriptions.push(channel.on('message.new', function (event) {
1603
1603
  _this.ngZone.run(function () {
1604
1604
  event.message && event.message.parent_id
1605
- ? _this.activeThreadMessagesSubject.next(__spreadArray([], __read(channel.state.threads[event.message.parent_id])))
1605
+ ? event.message.parent_id ===
1606
+ _this.activeParentMessageIdSubject.getValue()
1607
+ ? _this.activeThreadMessagesSubject.next(__spreadArray([], __read(channel.state.threads[event.message.parent_id])))
1608
+ : null
1606
1609
  : _this.activeChannelMessagesSubject.next(__spreadArray([], __read(channel.state.messages)));
1607
1610
  _this.activeChannel$.pipe(operators.first()).subscribe(function (c) {
1608
1611
  if (_this.canSendReadEvents && _this.shouldMarkActiveChannelAsRead) {