| author | Stephen Paul Weber
<singpolyma@singpolyma.net> 2025-10-17 18:46:59 UTC |
| committer | Stephen Paul Weber
<singpolyma@singpolyma.net> 2025-10-17 18:46:59 UTC |
| parent | 9d51abca00efa39cb4862db07b626289af321aa2 |
| borogove/Message.hx | +0 | -6 |
diff --git a/borogove/Message.hx b/borogove/Message.hx index 423a071..a5fd39f 100644 --- a/borogove/Message.hx +++ b/borogove/Message.hx @@ -29,7 +29,6 @@ enum MessageStanza { ModerateMessageStanza(action: ModerationAction); ReactionUpdateStanza(update: ReactionUpdate); UnknownMessageStanza(stanza: Stanza); - UndecryptableMessageStanza(decryptionFailure: EncryptionInfo); } @:nullSafety(Strict) @@ -59,11 +58,6 @@ class Message { return new Message(from, from, null, ErrorMessageStanza(stanza), encryptionInfo); } - if(encryptionInfo != null && encryptionInfo.status == DecryptionFailure) { - trace("Message decryption failure: " + encryptionInfo.reasonText); - return new Message(from, from, stanza.getChildText("thread"), UndecryptableMessageStanza(encryptionInfo), encryptionInfo); - } - var msg = new ChatMessageBuilder(); msg.stanza = stanza; msg.timestamp =stanza.findText("{urn:xmpp:delay}delay@stamp");