sending named presence

Daniel Gultsch created

Change summary

src/eu/siacs/conversations/xmpp/XmppConnection.java | 3 +++
1 file changed, 3 insertions(+)

Detailed changes

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