stream-chat-angular 3.7.2 → 3.7.3

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 = "3.7.2";
1
+ export declare const version = "3.7.3";
@@ -354,7 +354,7 @@
354
354
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
355
355
  }
356
356
 
357
- var version = '3.7.2';
357
+ var version = '3.7.3';
358
358
 
359
359
  /**
360
360
  * The `NotificationService` can be used to add or remove notifications. By default the [`NotificationList`](../components/NotificationListComponent.mdx) component displays the currently active notifications.
@@ -4309,10 +4309,10 @@
4309
4309
  this.visibleMessageActionsCount = 0;
4310
4310
  this.messageTextParts = [];
4311
4311
  this.subscriptions = [];
4312
- this.user = this.chatClientService.chatClient.user;
4313
4312
  }
4314
4313
  MessageComponent.prototype.ngOnInit = function () {
4315
4314
  var _this = this;
4315
+ this.subscriptions.push(this.chatClientService.user$.subscribe(function (u) { return (_this.user = u); }));
4316
4316
  this.subscriptions.push(this.customTemplatesService.mentionTemplate$.subscribe(function (template) { return (_this.mentionTemplate = template); }));
4317
4317
  this.subscriptions.push(this.customTemplatesService.attachmentListTemplate$.subscribe(function (template) { return (_this.attachmentListTemplate = template); }));
4318
4318
  this.subscriptions.push(this.customTemplatesService.messageActionsBoxTemplate$.subscribe(function (template) { return (_this.messageActionsBoxTemplate = template); }));