Fix retrying d->m errors

This commit is contained in:
Cadence Ember 2025-08-05 00:06:01 +12:00
parent e306b95764
commit 50ca219fc1
2 changed files with 2 additions and 2 deletions

View file

@ -55,7 +55,7 @@ module.exports = {
if (gatewayMessage.t === "TYPING_START") return
await matrixEventDispatcher.sendError(roomID, "Discord", gatewayMessage.t, e, gatewayMessage.d)
await matrixEventDispatcher.sendError(roomID, "Discord", gatewayMessage.t, e, gatewayMessage)
},
/**

View file

@ -177,7 +177,7 @@ async function onRetryReactionAdd(reactionEvent) {
}
// Redact the error to stop people from executing multiple retries
api.redactEvent(roomID, event.event_id)
await api.redactEvent(roomID, event.event_id)
}
sync.addTemporaryListener(as, "type:m.room.message", guard("m.room.message",