差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录 前一修订版
后一修订版 两侧同时换到之后的修订记录
im:web:basics:message [2022/01/17 07:56]
zhangdong [删除会话]
im:web:basics:message [2022/01/17 12:00]
zhangdong [消息回执]
行 871: 行 871:
   let msg = new WebIM.message("​read",​ WebIM.conn.getUniqueId());​   let msg = new WebIM.message("​read",​ WebIM.conn.getUniqueId());​
   msg.set({   msg.set({
-      idmessage.id, ​        // 需要发送已读回执的消息id +      idmessage.id, ​        // 需要发送已读回执的消息id 
-      to: '​groupId'​,+      to: message.from      // 消息的发送方
       msgConfig: { allowGroupAck:​ true },       msgConfig: { allowGroupAck:​ true },
       ackContent: JSON.stringify({}) // 回执内容       ackContent: JSON.stringify({}) // 回执内容