fix: group chat create (#1319)

This commit is contained in:
ogxing
2022-03-29 10:56:07 +08:00
committed by GitHub
parent 281aec40ad
commit a23c285f3c

View File

@@ -999,7 +999,7 @@ class Client extends EventEmitter {
const createRes = await this.pupPage.evaluate(async (name, participantIds) => {
const participantWIDs = participantIds.map(p => window.Store.WidFactory.createWid(p));
const id = window.Store.genId();
const id = window.Store.MsgKey.newId();
const res = await window.Store.GroupUtils.sendCreateGroup(name, participantWIDs, undefined, id);
return res;
}, name, participants);