diff options
author | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-04-03 14:25:54 +0200 |
---|---|---|
committer | Daniel Gultsch <daniel.gultsch@rwth-aachen.de> | 2014-04-03 14:25:54 +0200 |
commit | 9d2d853e1b3b1f167be16ffe53530cbe83790ad1 (patch) | |
tree | 30bf686e174538b523343c7e90699d487da9aaf8 /src/eu/siacs/conversations/xmpp/XmppConnection.java | |
parent | 24d6e8615c4a21b8a3ea5f09e1006029d5aaa09e (diff) |
fixed #27
Diffstat (limited to 'src/eu/siacs/conversations/xmpp/XmppConnection.java')
-rw-r--r-- | src/eu/siacs/conversations/xmpp/XmppConnection.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/eu/siacs/conversations/xmpp/XmppConnection.java b/src/eu/siacs/conversations/xmpp/XmppConnection.java index 01a024dc..e50ccd05 100644 --- a/src/eu/siacs/conversations/xmpp/XmppConnection.java +++ b/src/eu/siacs/conversations/xmpp/XmppConnection.java @@ -583,7 +583,8 @@ public class XmppConnection implements Runnable { .getContent().split("/")[1]; account.setResource(resource); if (streamFeatures.hasChild("sm")) { - EnablePacket enable = new EnablePacket(); + String xmlns = streamFeatures.findChild("sm").getAttribute("xmlns"); + EnablePacket enable = new EnablePacket(xmlns); tagWriter.writeStanzaAsync(enable); } sendInitialPresence(); |