Fix retrying d->m errors
This commit is contained in:
parent
e306b95764
commit
50ca219fc1
2 changed files with 2 additions and 2 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue