From f4e3cd509874009e2baa024337973e958c586863 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Sun, 12 Jun 2016 14:49:04 +0200 Subject: [PATCH] actually do add fall back message for omemo --- .../java/eu/siacs/conversations/generator/MessageGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }