提交 fc2c8412 编写于 作者: Y Yuan Gao

fix bug that after a room add, the room id get removed from cache

上级 b8b5eb9b
......@@ -1068,7 +1068,10 @@ export class PuppetPadchat extends Puppet {
await this.roomPayloadDirty(roomId)
await this.roomMemberPayloadDirty(roomId)
// XXX: Do we need to re-load payload at here?
// Reload room information here
await new Promise(r => setTimeout(r, 1000))
await this.roomPayload(roomId)
await this.roomMemberPayload(roomId, contactId)
}
public async roomTopic(roomId: string) : Promise<string>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册