diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/eu/siacs/conversations/generator/MessageGenerator.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/eu/siacs/conversations/generator/MessageGenerator.java b/src/main/java/eu/siacs/conversations/generator/MessageGenerator.java index 09c88293..cb06219f 100644 --- a/src/main/java/eu/siacs/conversations/generator/MessageGenerator.java +++ b/src/main/java/eu/siacs/conversations/generator/MessageGenerator.java @@ -73,10 +73,10 @@ public class MessageGenerator extends AbstractGenerator { if (axolotlMessage == null) { return null; } + packet.setAxolotlMessage(axolotlMessage.toElement()); if (!recipientSupportsOmemo(message)) { packet.setBody(OMEMO_FALLBACK_MESSAGE); } - packet.setAxolotlMessage(axolotlMessage.toElement()); packet.addChild("store", "urn:xmpp:hints"); return packet; } |