Only ack read receipts if the event was bridged

This commit is contained in:
Cadence Ember
2025-04-16 22:45:07 +12:00
parent d326894b8a
commit 2522a74d7c
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -187,6 +187,7 @@ sync.addTemporaryListener(as, "type:m.room.message", guard("m.room.message",
async event => {
if (utils.eventSenderIsFromDiscord(event.sender)) return
const messageResponses = await sendEvent.sendEvent(event)
if (!messageResponses.length) return
if (event.type === "m.room.message" && event.content.msgtype === "m.text") {
// @ts-ignore
await matrixCommandHandler.execute(event)