mirror of
https://github.com/matrix-org/mjolnir.git
synced 2024-10-01 01:36:06 -04:00
Don't double report success for !mjolnir sync
This commit is contained in:
parent
cb20aefea3
commit
7501e3123a
@ -18,6 +18,5 @@ import { Mjolnir } from "../Mjolnir";
|
||||
|
||||
// !mjolnir sync
|
||||
export async function execSyncCommand(roomId: string, event: any, mjolnir: Mjolnir) {
|
||||
await mjolnir.syncLists();
|
||||
return mjolnir.client.unstableApis.addReactionToEvent(roomId, event['event_id'], '✅');
|
||||
return mjolnir.syncLists();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user