From a8dd6794f3abc846c9209706a60c32c13d067ba3 Mon Sep 17 00:00:00 2001 From: Daniel Gultsch Date: Sun, 9 Mar 2014 03:24:59 +0100 Subject: [PATCH] sending named presence --- src/eu/siacs/conversations/xmpp/XmppConnection.java | 3 +++ 1 file changed, 3 insertions(+) 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