mirror of
https://github.com/matrix-org/mjolnir.git
synced 2024-10-01 01:36:06 -04:00
Cherrypick 9023c78e66
This commit is contained in:
parent
b48904bc2b
commit
7d700634e1
@ -236,7 +236,9 @@ export class Mjolnir {
|
||||
event['content']['body'] = COMMAND_PREFIX + restOfBody;
|
||||
LogService.info("Mjolnir", `Command being run by ${event['sender']}: ${event['content']['body']}`);
|
||||
|
||||
await client.sendReadReceipt(roomId, event['event_id']);
|
||||
client.sendReadReceipt(roomId, event['event_id']).catch((e: any) => {
|
||||
LogService.warn("Mjolnir", "Error sending read receipt:", e);
|
||||
});
|
||||
return handleCommand(roomId, event, this);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user