Fix retrying d->m errors
This commit is contained in:
@@ -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)
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user