@chat21/chat21-ionic 3.4.21-rc4 → 3.4.21-rc5

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
@@ -8,6 +8,9 @@
8
8
  ### **Copyrigth**:
9
9
  *Tiledesk SRL*
10
10
 
11
+ # 3.4.21-rc5
12
+ - **added**: setConversation as read when agent click on it
13
+
11
14
  # 3.4.21-rc4
12
15
  - **added**: ability to init and decrement new conversation count badge
13
16
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@chat21/chat21-ionic",
3
3
  "author": "Tiledesk SRL",
4
- "version": "3.4.21-rc4",
4
+ "version": "3.4.21-rc5",
5
5
  "license": "MIT License",
6
6
  "homepage": "https://tiledesk.com/",
7
7
  "repository": {
@@ -1345,8 +1345,8 @@ export class AppComponent implements OnInit {
1345
1345
 
1346
1346
  subscribeConversationSelected= (conversation: ConversationModel) => {
1347
1347
  if(conversation && conversation.is_new){
1348
- this.audio_NewConv.pause()
1349
-
1348
+ this.audio_NewConv.pause();
1349
+ this.conversationsHandlerService.setConversationRead(conversation.uid)
1350
1350
  //UPDATE NOTIFICATION FOR NEW CONVERSATION COUNT
1351
1351
  this.setNotification();
1352
1352
  }