stream-chat-angular 4.59.1 → 4.59.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.
@@ -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.59.1';
23
+ const version = '4.59.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.
@@ -1231,7 +1231,7 @@ class ChannelService {
1231
1231
  .subscribe((e) => {
1232
1232
  this.ngZone.run(() => {
1233
1233
  this.activeChannelLastReadMessageId = e.last_read_message_id;
1234
- this.activeChannelUnreadCount = e.unread_count;
1234
+ this.activeChannelUnreadCount = e.unread_messages;
1235
1235
  this.activeChannelSubject.next(this.activeChannel);
1236
1236
  });
1237
1237
  }));