Skip to content

Commit

Permalink
Fix error code in crypto-related MSS events
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Aug 7, 2023
1 parent 2d59855 commit c4ffe9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mautrix/bridge/matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ async def _send_crypto_status_error(
evt,
status=MessageStatus.RETRIABLE if is_final else MessageStatus.PENDING,
reason=MessageStatusReason.UNDECRYPTABLE,
error=msg,
error=str(err),
message=err.human_message if err else None,
)

Expand Down

0 comments on commit c4ffe9b

Please sign in to comment.