mirror of
https://github.com/moparisthebest/Conversations
synced 2024-11-15 13:35:04 -05:00
actually do add fall back message for omemo
This commit is contained in:
parent
c4680e3198
commit
f4e3cd5098
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user