Update src/RoomInvite.tsx
Co-authored-by: Florian Duros <florianduros@element.io>
This commit is contained in:
parent
e09e15bb52
commit
4d9b40c49a
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ export function inviteMultipleToRoom(
|
|||
progressCallback?: () => void,
|
||||
): Promise<IInviteResult> {
|
||||
const inviter = new MultiInviter(client, roomId, progressCallback);
|
||||
return inviter.invite(addresses).then((states) => Promise.resolve({ states, inviter }));
|
||||
return { states: await inviter.invite(addresses), inviter };
|
||||
}
|
||||
|
||||
export function showStartChatInviteDialog(initialText = ""): void {
|
||||
|
|
Loading…
Reference in a new issue