git » sdk » commit 9c64425

OMEMO: Pass encryption info through to received carbon copied messages

author Matthew Wild
2025-05-24 14:16:20 UTC
committer Stephen Paul Weber
2025-09-29 13:43:04 UTC
parent be293f73cd00118c1ada22e93a7f9e12b305e013

OMEMO: Pass encryption info through to received carbon copied messages

snikket/Message.hx +1 -1

diff --git a/snikket/Message.hx b/snikket/Message.hx
index f3e8835..361ed38 100644
--- a/snikket/Message.hx
+++ b/snikket/Message.hx
@@ -91,7 +91,7 @@ class Message {
 			if (carbon == null) carbon = stanza.getChild("sent", "urn:xmpp:carbons:2");
 			if (carbon != null) {
 				var fwd = carbon.getChild("forwarded", "urn:xmpp:forward:0");
-				if(fwd != null) return fromStanza(fwd.getFirstChild(), localJid);
+				if(fwd != null) return fromStanza(fwd.getFirstChild(), localJid, null, encryptionInfo);
 			}
 		}