mirror of
https://github.com/matrix-org/mjolnir.git
synced 2024-07-02 17:41:50 +00: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
|
// !mjolnir sync
|
||||||
export async function execSyncCommand(roomId: string, event: any, mjolnir: Mjolnir) {
|
export async function execSyncCommand(roomId: string, event: any, mjolnir: Mjolnir) {
|
||||||
await mjolnir.syncLists();
|
return mjolnir.syncLists();
|
||||||
return mjolnir.client.unstableApis.addReactionToEvent(roomId, event['event_id'], '✅');
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user