diff options
author | Daniel Gultsch <daniel@gultsch.de> | 2014-03-09 03:24:59 +0100 |
---|---|---|
committer | Daniel Gultsch <daniel@gultsch.de> | 2014-03-09 03:24:59 +0100 |
commit | a8dd6794f3abc846c9209706a60c32c13d067ba3 (patch) | |
tree | abae491dcad5e98a09677bad7fa6bcaeeb0e950c | |
parent | 6ec5b2f055995fad63a8d5dd27a261d476485eb8 (diff) |
sending named presence
-rw-r--r-- | src/eu/siacs/conversations/xmpp/XmppConnection.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/eu/siacs/conversations/xmpp/XmppConnection.java b/src/eu/siacs/conversations/xmpp/XmppConnection.java index bca5f5aa3..6e236210d 100644 --- a/src/eu/siacs/conversations/xmpp/XmppConnection.java +++ b/src/eu/siacs/conversations/xmpp/XmppConnection.java @@ -402,6 +402,9 @@ public class XmppConnection implements Runnable { IqPacket iq = new IqPacket(IqPacket.TYPE_SET); Element bind = new Element("bind"); bind.setAttribute("xmlns", "urn:ietf:params:xml:ns:xmpp-bind"); + Element resource = new Element("resource"); + resource.setContent("Conversations"); + bind.addChild(resource); iq.addChild(bind); this.sendIqPacket(iq, new OnIqPacketReceived() { @Override |