@chat21/chat21-ionic 3.0.96-rc.1 → 3.0.96-rc.2
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.
|
@@ -13,7 +13,7 @@ jobs:
|
|
|
13
13
|
- name: Check out the repo
|
|
14
14
|
uses: actions/checkout@v2
|
|
15
15
|
- name: Push to Docker Hub
|
|
16
|
-
uses: docker/build-push-action@
|
|
16
|
+
uses: docker/build-push-action@v1
|
|
17
17
|
with:
|
|
18
18
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
19
19
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# chat21-ionic ver 3.0
|
|
2
2
|
|
|
3
|
+
### 3.0.96-rc.2
|
|
4
|
+
- changed: chat21client.js to v0.1.12.5 (window scope fixed)
|
|
5
|
+
|
|
3
6
|
### 3.0.96-rc.1
|
|
4
7
|
- added: isFirstMessage, isSameSender, isLastMessage, isFirstMessage function to utils-message
|
|
5
8
|
- added: online/offline status check for offline automatic email -> presence service impl
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
/*
|
|
2
2
|
Chat21Client
|
|
3
3
|
|
|
4
|
-
v0.1.12.
|
|
4
|
+
v0.1.12.5
|
|
5
5
|
|
|
6
6
|
@Author Andrea Sponziello
|
|
7
|
+
@Member Gabriele Panico
|
|
7
8
|
(c) Tiledesk 2020
|
|
8
9
|
*/
|
|
9
10
|
|
|
@@ -29,6 +30,9 @@ class Chat21Client {
|
|
|
29
30
|
console.log("MQTTendpoint relative url");
|
|
30
31
|
}
|
|
31
32
|
var loc = window.location, new_uri;
|
|
33
|
+
if(window.frameElement && window.frameElement.getAttribute('tiledesk_context') === 'parent'){
|
|
34
|
+
loc = window.parent.location
|
|
35
|
+
}
|
|
32
36
|
if (loc.protocol === "https:") {
|
|
33
37
|
// new_uri = "wss:";
|
|
34
38
|
new_uri = "mqtt:";
|