@onyx-p/imlib-web 1.6.6 → 1.6.7
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/index.esm.js +4 -2
- package/index.umd.js +4 -2
- package/package.json +1 -1
package/index.esm.js
CHANGED
@@ -20125,8 +20125,10 @@ class LibLoader {
|
|
20125
20125
|
messageListener(cmdId, body) {
|
20126
20126
|
if (cmdId === CmdIds$1.NewMessagePush) {
|
20127
20127
|
console.log('messageListener: new message push');
|
20128
|
-
|
20129
|
-
|
20128
|
+
setTimeout(() => {
|
20129
|
+
const newMsgNotiResp = NewMessageNotificationResp.decode(body);
|
20130
|
+
this.messageLoader?.syncMsg(newMsgNotiResp.seqno);
|
20131
|
+
}, 100);
|
20130
20132
|
} else if (cmdId === CmdIds$1.DialogChangedPush) {
|
20131
20133
|
ConversationManager$1.get().syncConversationStatus();
|
20132
20134
|
} else {
|
package/index.umd.js
CHANGED
@@ -20131,8 +20131,10 @@
|
|
20131
20131
|
messageListener(cmdId, body) {
|
20132
20132
|
if (cmdId === CmdIds$1.NewMessagePush) {
|
20133
20133
|
console.log('messageListener: new message push');
|
20134
|
-
|
20135
|
-
|
20134
|
+
setTimeout(() => {
|
20135
|
+
const newMsgNotiResp = NewMessageNotificationResp.decode(body);
|
20136
|
+
this.messageLoader?.syncMsg(newMsgNotiResp.seqno);
|
20137
|
+
}, 100);
|
20136
20138
|
} else if (cmdId === CmdIds$1.DialogChangedPush) {
|
20137
20139
|
ConversationManager$1.get().syncConversationStatus();
|
20138
20140
|
} else {
|