mark otr messages as no-store for mam

This commit is contained in:
iNPUTmice 2014-12-10 14:06:20 +01:00
parent 1dcdc79a71
commit f2510ae9f6

View file

@ -180,6 +180,7 @@ public class OtrEngine implements OtrEngineHost {
packet.setBody(body);
packet.addChild("private", "urn:xmpp:carbons:2");
packet.addChild("no-copy", "urn:xmpp:hints");
packet.addChild("no-store", "urn:xmpp:hints");
packet.setType(MessagePacket.TYPE_CHAT);
account.getXmppConnection().sendMessagePacket(packet);
}