@chat21/chat21-ionic 3.0.72 → 3.0.73-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
@@ -1,5 +1,9 @@
1
1
  # chat21-ionic ver 3.0
2
2
 
3
+ ### 3.0.73-rc.1
4
+ - bug-fixed: topic.split is not a function while a conversataion is closed by an agent in MQTT-conversations-handler.service
5
+ - removed: user id from contact-directory component
6
+
3
7
  ### 3.0.72 in PROD
4
8
 
5
9
  ### 3.0.72-rc.1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@chat21/chat21-ionic",
3
3
  "author": "Tiledesk SRL",
4
- "version": "3.0.72",
4
+ "version": "3.0.73-rc.1",
5
5
  "license": "AGPL-3.0",
6
6
  "homepage": "https://tiledesk.com/",
7
7
  "repository": {
@@ -19,7 +19,7 @@
19
19
 
20
20
  <ion-label>
21
21
  <h2>{{ user.fullname }}</h2>
22
- <p>{{ user.uid }}</p>
22
+ <!-- <p>{{ user.uid }}</p> -->
23
23
  </ion-label>
24
24
 
25
25
  </ion-item>
Binary file
@@ -169,13 +169,14 @@ export class MQTTConversationsHandler extends ConversationsHandlerService {
169
169
  const handlerConversationDeleted = this.chat21Service.chatClient.onConversationDeleted( (conv, topic) => {
170
170
  this.logger.debug('[MQTTConversationsHandler] conversation deleted:', conv, topic);
171
171
  // example topic: apps.tilechat.users.ME.conversations.CONVERS-WITH.clientdeleted
172
- const topic_parts = topic.split("/")
173
- this.logger.debug('[MQTTConversationsHandler] topic and parts', topic_parts)
174
- if (topic_parts.length < 7) {
175
- this.logger.error('[MQTTConversationsHandler] Error. Not a conversation-deleted topic:', topic);
176
- return
177
- }
178
- const convers_with = topic_parts[5];
172
+ // const topic_parts = topic.split("/")
173
+ // this.logger.debug('[MQTTConversationsHandler] topic and parts', topic_parts)
174
+ // if (topic_parts.leßngth < 7) {
175
+ // this.logger.error('[MQTTConversationsHandler] Error. Not a conversation-deleted topic:', topic);
176
+ // return
177
+ // }
178
+ // const convers_with = topic_parts[5];
179
+ const convers_with = topic.conversWith;
179
180
  this.removed({
180
181
  uid: convers_with
181
182
  });