stream-chat-angular 4.29.0 → 4.29.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.
@@ -1 +1 @@
1
- export declare const version = "4.29.0";
1
+ export declare const version = "4.29.1";
@@ -355,7 +355,7 @@
355
355
  return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
356
356
  }
357
357
 
358
- var version = '4.29.0';
358
+ var version = '4.29.1';
359
359
 
360
360
  /**
361
361
  * The `NotificationService` can be used to add or remove notifications. By default the [`NotificationList`](../components/NotificationListComponent.mdx) component displays the currently active notifications.
@@ -3778,8 +3778,10 @@
3778
3778
  }));
3779
3779
  this.subscriptions.push(this.channelService.activeChannel$.subscribe(function (channel) {
3780
3780
  var _a;
3781
- _this.textareaValue = '';
3782
- _this.attachmentService.resetAttachmentUploads();
3781
+ if (channel && _this.channel && channel.id !== _this.channel.id) {
3782
+ _this.textareaValue = '';
3783
+ _this.attachmentService.resetAttachmentUploads();
3784
+ }
3783
3785
  var capabilities = (_a = channel === null || channel === void 0 ? void 0 : channel.data) === null || _a === void 0 ? void 0 : _a.own_capabilities;
3784
3786
  if (capabilities) {
3785
3787
  _this.isFileUploadAuthorized =