fix: group chat create (#1319)
This commit is contained in:
parent
281aec40ad
commit
a23c285f3c
1 changed files with 1 additions and 1 deletions
|
|
@ -999,7 +999,7 @@ class Client extends EventEmitter {
|
||||||
|
|
||||||
const createRes = await this.pupPage.evaluate(async (name, participantIds) => {
|
const createRes = await this.pupPage.evaluate(async (name, participantIds) => {
|
||||||
const participantWIDs = participantIds.map(p => window.Store.WidFactory.createWid(p));
|
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);
|
const res = await window.Store.GroupUtils.sendCreateGroup(name, participantWIDs, undefined, id);
|
||||||
return res;
|
return res;
|
||||||
}, name, participants);
|
}, name, participants);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue