diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2016-06-12 14:49:04 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2016-06-12 14:49:04 +0200 |
commit | f4e3cd509874009e2baa024337973e958c586863 (patch) | |
tree | 0bc0c68e6d4e0e087353c6f8944277012a47faa8 /src/main | |
parent | c4680e319823849e8d807e0d4c7e96cbd62c2a69 (diff) |
actually do add fall back message for omemo
Diffstat (limited to '')
-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; } |