aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2016-06-12 14:49:04 +0200
committerChristian Schneppe <christian@pix-art.de>2016-06-12 20:09:40 +0200
commitab2b46fd727c4a468359917eef461824827fe06a (patch)
treea2b94bec1ce45e6ea91e7257d913e6122af92fad
parenta073c587448824c9922d8d80752be586717726f4 (diff)
actually do add fall back message for omemo
-rw-r--r--src/main/java/eu/siacs/conversations/generator/MessageGenerator.java2
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;
}