@chat21/chat21-web-widget 5.0.44 → 5.0.46-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 +6 -0
- package/dist/assets/js/chat21client.js +5 -5
- package/dist/main.js +1 -1
- package/package.json +1 -1
- package/src/app/providers/settings-saver.service.ts +1 -1
- package/src/assets/js/chat21client.js +5 -5
- package/src/chat21-core/providers/firebase/firebase-conversation-handler.ts +1 -44
- package/src/chat21-core/providers/mqtt/mqtt-conversation-handler.ts +0 -20
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# chat21-web-widget ver 5.0
|
|
2
2
|
|
|
3
|
+
### 5.0.46-rc.1
|
|
4
|
+
- bug-fixed: localstorage save [object, object] for attributes key
|
|
5
|
+
|
|
6
|
+
### 5.0.45 in PROD
|
|
7
|
+
- changed: chat21client.js file to 1.12.3
|
|
8
|
+
|
|
3
9
|
### 5.0.44 in PROD
|
|
4
10
|
- bug-fixed: axios is undefined with MQTT engine
|
|
5
11
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
Chat21Client
|
|
3
3
|
|
|
4
|
-
v0.1.12.
|
|
4
|
+
v0.1.12.3
|
|
5
5
|
|
|
6
6
|
@Author Andrea Sponziello
|
|
7
7
|
(c) Tiledesk 2020
|
|
@@ -632,10 +632,10 @@ class Chat21Client {
|
|
|
632
632
|
// console.log("Observing conversations added from messages", message_json);
|
|
633
633
|
// if (this.onConversationAddedCallbacks) {
|
|
634
634
|
let update_conversation = true;
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
635
|
+
|
|
636
|
+
if (message_json.attributes && message_json.attributes.updateconversation == false) {
|
|
637
|
+
update_conversation = false
|
|
638
|
+
}
|
|
639
639
|
if (update_conversation && this.onConversationAddedCallbacks) {
|
|
640
640
|
this.onConversationAddedCallbacks.forEach((callback, handler, map) => {
|
|
641
641
|
message_json.is_new = true;
|