@onyx-p/imlib-web 2.5.8 → 2.6.0
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 +5 -5
- package/index.umd.js +5 -5
- package/package.json +1 -1
package/index.esm.js
CHANGED
@@ -18307,7 +18307,7 @@ const SendPrivateChatReadAckReq = $root$2.SendPrivateChatReadAckReq = (() => {
|
|
18307
18307
|
};
|
18308
18308
|
return SendPrivateChatReadAckReq;
|
18309
18309
|
})();
|
18310
|
-
$root$2.ReplyPrivateChatMessageReq = (() => {
|
18310
|
+
const ReplyPrivateChatMessageReq = $root$2.ReplyPrivateChatMessageReq = (() => {
|
18311
18311
|
/**
|
18312
18312
|
* Properties of a ReplyPrivateChatMessageReq.
|
18313
18313
|
* @exports IReplyPrivateChatMessageReq
|
@@ -18622,7 +18622,7 @@ $root$2.ReplyPrivateChatMessageReq = (() => {
|
|
18622
18622
|
};
|
18623
18623
|
return ReplyPrivateChatMessageReq;
|
18624
18624
|
})();
|
18625
|
-
$root$2.ReplyPrivateChatMessageResp = (() => {
|
18625
|
+
const ReplyPrivateChatMessageResp = $root$2.ReplyPrivateChatMessageResp = (() => {
|
18626
18626
|
/**
|
18627
18627
|
* Properties of a ReplyPrivateChatMessageResp.
|
18628
18628
|
* @exports IReplyPrivateChatMessageResp
|
@@ -20484,8 +20484,8 @@ const sendPrivateChatMessage = params => {
|
|
20484
20484
|
});
|
20485
20485
|
};
|
20486
20486
|
const sendQuotePrivateChatMessage = params => webSocketServer.send(CmdIds$1.SendQuotePrivateChatMessage, params, {
|
20487
|
-
encoder:
|
20488
|
-
decoder:
|
20487
|
+
encoder: ReplyPrivateChatMessageReq,
|
20488
|
+
decoder: ReplyPrivateChatMessageResp
|
20489
20489
|
});
|
20490
20490
|
const sendGroupChatMessage = params => webSocketServer.send(CmdIds$1.SendGroupChatMessage, params, {
|
20491
20491
|
encoder: SendGroupChatMessageReq,
|
@@ -30371,7 +30371,7 @@ const sendQuoteReplyMessage$1 = async (message, quoteReply, sendOptions) => {
|
|
30371
30371
|
code: checkResult.code
|
30372
30372
|
};
|
30373
30373
|
}
|
30374
|
-
|
30374
|
+
let receivedMessage = transSentAttrs2IReceivedMessage(checkResult.message, checkResult.sentArgs);
|
30375
30375
|
receivedMessage.quotedReply = quoteReply;
|
30376
30376
|
await saveSentMessage(receivedMessage, checkResult.sentArgs);
|
30377
30377
|
const dialogId = getFullDialogId(quoteReply);
|
package/index.umd.js
CHANGED
@@ -18313,7 +18313,7 @@
|
|
18313
18313
|
};
|
18314
18314
|
return SendPrivateChatReadAckReq;
|
18315
18315
|
})();
|
18316
|
-
$root$2.ReplyPrivateChatMessageReq = (() => {
|
18316
|
+
const ReplyPrivateChatMessageReq = $root$2.ReplyPrivateChatMessageReq = (() => {
|
18317
18317
|
/**
|
18318
18318
|
* Properties of a ReplyPrivateChatMessageReq.
|
18319
18319
|
* @exports IReplyPrivateChatMessageReq
|
@@ -18628,7 +18628,7 @@
|
|
18628
18628
|
};
|
18629
18629
|
return ReplyPrivateChatMessageReq;
|
18630
18630
|
})();
|
18631
|
-
$root$2.ReplyPrivateChatMessageResp = (() => {
|
18631
|
+
const ReplyPrivateChatMessageResp = $root$2.ReplyPrivateChatMessageResp = (() => {
|
18632
18632
|
/**
|
18633
18633
|
* Properties of a ReplyPrivateChatMessageResp.
|
18634
18634
|
* @exports IReplyPrivateChatMessageResp
|
@@ -20490,8 +20490,8 @@
|
|
20490
20490
|
});
|
20491
20491
|
};
|
20492
20492
|
const sendQuotePrivateChatMessage = params => webSocketServer.send(CmdIds$1.SendQuotePrivateChatMessage, params, {
|
20493
|
-
encoder:
|
20494
|
-
decoder:
|
20493
|
+
encoder: ReplyPrivateChatMessageReq,
|
20494
|
+
decoder: ReplyPrivateChatMessageResp
|
20495
20495
|
});
|
20496
20496
|
const sendGroupChatMessage = params => webSocketServer.send(CmdIds$1.SendGroupChatMessage, params, {
|
20497
20497
|
encoder: SendGroupChatMessageReq,
|
@@ -30377,7 +30377,7 @@
|
|
30377
30377
|
code: checkResult.code
|
30378
30378
|
};
|
30379
30379
|
}
|
30380
|
-
|
30380
|
+
let receivedMessage = transSentAttrs2IReceivedMessage(checkResult.message, checkResult.sentArgs);
|
30381
30381
|
receivedMessage.quotedReply = quoteReply;
|
30382
30382
|
await saveSentMessage(receivedMessage, checkResult.sentArgs);
|
30383
30383
|
const dialogId = getFullDialogId(quoteReply);
|