Skip to content
Snippets Groups Projects
Commit f8b22b1d authored by Philipp Hörist's avatar Philipp Hörist
Browse files

Presence: Send nickname on subscribe

parent 13f6af23
No related branches found
No related tags found
No related merge requests found
......@@ -342,7 +342,10 @@ def subscribe(self, jid, msg=None, name='', groups=None, auto_auth=False):
item.addChild('group').setData(group)
self._con.connection.send(iq)
self.send_presence(jid, 'subscribe', status=msg)
self.send_presence(jid,
'subscribe',
status=msg,
nick=app.nicks[self._account])
def get_presence(self, to=None, typ=None, priority=None,
show=None, status=None, nick=None, caps=True,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment