@hivegpt/hiveai-angular 0.0.236 → 0.0.238

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.
@@ -820,6 +820,9 @@
820
820
  };
821
821
  ChatDrawerComponent.prototype.listenSockets = function () {
822
822
  var _this = this;
823
+ if (this.eventSubscription) {
824
+ this.eventSubscription.unsubscribe();
825
+ }
823
826
  this.eventSubscription = this.conversationService
824
827
  .getUserSpecificNotification()
825
828
  .subscribe(function (res) {
@@ -1804,7 +1807,7 @@
1804
1807
  if (button) {
1805
1808
  button.style.display = 'block';
1806
1809
  }
1807
- }, 1000);
1810
+ }, 300);
1808
1811
  };
1809
1812
  ChatDrawerComponent.prototype.toggleDrawer = function (todo) {
1810
1813
  this.isDrawerOpen = todo;