You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
Appease the linter
This commit is contained in:
@@ -148,8 +148,9 @@ export const CommandMap = {
|
|||||||
const userId = matches[1];
|
const userId = matches[1];
|
||||||
const inviter = new MultiInviter(roomId);
|
const inviter = new MultiInviter(roomId);
|
||||||
return success(inviter.invite([userId]).then(() => {
|
return success(inviter.invite([userId]).then(() => {
|
||||||
if (inviter.getCompletionState(userId) !== "invited")
|
if (inviter.getCompletionState(userId) !== "invited") {
|
||||||
throw new Error(inviter.getErrorText(userId));
|
throw new Error(inviter.getErrorText(userId));
|
||||||
|
}
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user