Copy thread to reaction
(cherry picked from commit 35c270bab5b49e4c6db4e907c81a08371caf8402)
This commit is contained in:
parent
756d8aa9e1
commit
d1d4249494
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue