aboutsummaryrefslogtreecommitdiffstats
path: root/src/eu/siacs
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel@gultsch.de>2014-03-09 03:24:59 +0100
committerDaniel Gultsch <daniel@gultsch.de>2014-03-09 03:24:59 +0100
commita8dd6794f3abc846c9209706a60c32c13d067ba3 (patch)
treeabae491dcad5e98a09677bad7fa6bcaeeb0e950c /src/eu/siacs
parent6ec5b2f055995fad63a8d5dd27a261d476485eb8 (diff)
sending named presence
Diffstat (limited to '')
-rw-r--r--src/eu/siacs/conversations/xmpp/XmppConnection.java3
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 bca5f5aa..6e236210 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