aboutsummaryrefslogtreecommitdiffstats
path: root/src/de/gultsch/chat/xmpp/XmppConnection.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/de/gultsch/chat/xmpp/XmppConnection.java')
-rw-r--r--src/de/gultsch/chat/xmpp/XmppConnection.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/de/gultsch/chat/xmpp/XmppConnection.java b/src/de/gultsch/chat/xmpp/XmppConnection.java
index 337d8c7d..1b9aa0c3 100644
--- a/src/de/gultsch/chat/xmpp/XmppConnection.java
+++ b/src/de/gultsch/chat/xmpp/XmppConnection.java
@@ -411,6 +411,7 @@ public class XmppConnection implements Runnable {
}
public void sendMessagePacket(MessagePacket packet) {
+ Log.d(LOGTAG,"sending message packet "+packet.toString());
tagWriter.writeElement(packet);
}
@@ -440,6 +441,6 @@ public class XmppConnection implements Runnable {
public void disconnect() {
shouldConnect = false;
- tagWriter.writeTag(Tag.end("stream"));
+ tagWriter.writeTag(Tag.end("stream:stream"));
}
}