提交 a3b88855 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

keep the payload when call room.del() until we process the leave event (#1329)

上级 39e8ea95
......@@ -964,7 +964,13 @@ export class PuppetPadchat extends Puppet {
// Should check whether user is in the room. WXDeleteChatRoomMember won't check if user in the room automatically
await this.padchatManager.WXDeleteChatRoomMember(roomId, contactId)
await this.roomMemberPayloadDirty(roomId)
/**
* Should not dirty payload at here,
* because later we need to get the leaverId from the event.
* We will dirty the payload when we process the leave event.
*/
// await this.roomMemberPayloadDirty(roomId)
}
public async roomQrcode(roomId: string): Promise<string> {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册