Don't double report success for !mjolnir sync

This commit is contained in:
Travis Ralston 2019-10-09 14:46:14 +01:00
parent cb20aefea3
commit 7501e3123a

View File

@ -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();
}