修复撤回消息的用户名展示

This commit is contained in:
砂糖
2025-07-14 13:01:45 +08:00
parent 47bccb29d3
commit 6bebaf41de
2 changed files with 8 additions and 5 deletions

View File

@@ -6,7 +6,7 @@ import IMSDK, { MessageStatus } from "openim-uniapp-polyfill";
* @param {string} clientMsgID - 消息客户端ID
* @returns {Promise} 撤回结果
*/
export const revokeMessage = async (conversationID, clientMsgID) => {
export const revokeMessage = async ({conversationID, clientMsgID, revokerName, revokerId}) => {
try {
const result = await IMSDK.asyncApi(
IMSDK.IMMethods.RevokeMessage,