diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2016-06-12 14:49:04 +0200 |
---|---|---|
committer | Christian Schneppe <christian@pix-art.de> | 2016-06-12 20:09:40 +0200 |
commit | ab2b46fd727c4a468359917eef461824827fe06a (patch) | |
tree | a2b94bec1ce45e6ea91e7257d913e6122af92fad /src/main/java/eu/siacs | |
parent | a073c587448824c9922d8d80752be586717726f4 (diff) |
actually do add fall back message for omemo
Diffstat (limited to 'src/main/java/eu/siacs')
-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 09c882932..cb06219f6 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; } |