@chat21/chat21-web-widget 5.0.77 → 5.0.79-rc.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.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,11 @@
5
5
  *Dario De Pascalis*
6
6
  ### **Copyrigth**: *Tiledesk SRL*
7
7
 
8
+ ### 5.0.79-rc.1
9
+ - added: do not sound again on conv.added if chrome reconnect after inactivity timeout
10
+
11
+ ### 5.0.78 in PROD
12
+
8
13
  ### 5.0.77 in PROD
9
14
 
10
15
  ### 5.0.77-rc.2
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@chat21/chat21-web-widget",
3
3
  "author": "Tiledesk SRL",
4
- "version": "5.0.77",
4
+ "version": "5.0.79-rc.1",
5
5
  "license": "MIT",
6
6
  "homepage": "https://www.tiledesk.com",
7
7
  "repository": {
@@ -142,11 +142,11 @@ export class AppComponent implements OnInit, AfterViewInit, OnDestroy {
142
142
  if (that.g.isOpen === true && conversation) {
143
143
  that.g.setParameter('displayEyeCatcherCard', 'none');
144
144
  that.triggerOnConversationUpdated(conversation);
145
- that.logger.debug('[APP-COMP] obsAddedConversation ::: ', conversation);
145
+ that.logger.debug('[APP-COMP] obsAddedConversation ::: ', conversation, this.isInitialized);
146
146
  if (conversation.attributes && conversation.attributes['subtype'] === 'info') {
147
147
  return;
148
148
  }
149
- if (conversation.is_new) {
149
+ if (conversation.is_new && this.isInitialized) {
150
150
  that.manageTabNotification(false, 'conv-added')
151
151
  // this.soundMessage();
152
152
  }
@@ -1803,6 +1803,10 @@ export class AppComponent implements OnInit, AfterViewInit, OnDestroy {
1803
1803
  this.appStorageService.setItem('recipientId', requestId)
1804
1804
 
1805
1805
  this.isConversationArchived = false;
1806
+ if (this.g.isOpen === false) {
1807
+ this.f21_open();
1808
+ }
1809
+
1806
1810
  }
1807
1811
 
1808
1812
  /**