bugfix: also add no-permanent-storage to message hints
This commit is contained in:
parent
f1ee5cccf0
commit
394486b300
|
@ -183,7 +183,7 @@ public class OtrService extends OtrCryptoEngineImpl implements OtrEngineHost {
|
|||
packet.addChild("private", "urn:xmpp:carbons:2");
|
||||
packet.addChild("no-copy", "urn:xmpp:hints");
|
||||
packet.addChild("no-permanent-store", "urn:xmpp:hints");
|
||||
|
||||
packet.addChild("no-permanent-store", "urn:xmpp:hints");
|
||||
try {
|
||||
Jid jid = Jid.fromSessionID(session);
|
||||
Conversation conversation = mXmppConnectionService.find(account,jid);
|
||||
|
|
|
@ -72,6 +72,7 @@ public class MessageGenerator extends AbstractGenerator {
|
|||
packet.addChild("private", "urn:xmpp:carbons:2");
|
||||
packet.addChild("no-copy", "urn:xmpp:hints");
|
||||
packet.addChild("no-permanent-store", "urn:xmpp:hints");
|
||||
packet.addChild("no-permanent-storage", "urn:xmpp:hints");
|
||||
try {
|
||||
String content;
|
||||
if (message.hasFileOnRemoteHost()) {
|
||||
|
|
Loading…
Reference in a new issue