1
0
Fork 1

Copy thread to reaction

(cherry picked from commit 35c270bab5b49e4c6db4e907c81a08371caf8402)
This commit is contained in:
Stephen Paul Weber 2024-10-01 12:43:30 -05:00 committed by Arne
parent 756d8aa9e1
commit d1d4249494

View file

@ -263,6 +263,9 @@ public class MessageGenerator extends AbstractGenerator {
final var fallback = packet.addChild("fallback", "urn:xmpp:fallback:0").setAttribute("for", "urn:xmpp:reactions:0");
fallback.addChild("body", "urn:xmpp:fallback:0");
final var thread = inReplyTo.getThread();
if (thread != null) packet.addChild(thread);
packet.addChild("store", "urn:xmpp:hints");
return packet;
}