aboutsummaryrefslogtreecommitdiffstats
path: root/src/de/gultsch/chat/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'src/de/gultsch/chat/crypto')
-rw-r--r--src/de/gultsch/chat/crypto/OtrEngine.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/de/gultsch/chat/crypto/OtrEngine.java b/src/de/gultsch/chat/crypto/OtrEngine.java
index f63b2904..7be9bed3 100644
--- a/src/de/gultsch/chat/crypto/OtrEngine.java
+++ b/src/de/gultsch/chat/crypto/OtrEngine.java
@@ -164,6 +164,7 @@ public class OtrEngine implements OtrEngineHost {
Element privateTag = new Element("private");
privateTag.setAttribute("xmlns","urn:xmpp:carbons:2");
packet.addChild(privateTag);
+ packet.setType(MessagePacket.TYPE_CHAT);
account.getXmppConnection().sendMessagePacket(packet);
}