Add our own JID to the roster

This commit is contained in:
mathieui 2014-11-29 18:53:02 +01:00
parent 952a18cf21
commit a0a00d5e7d
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3

View file

@ -906,6 +906,7 @@ def on_session_start(self, event):
if not self.xmpp.anon:
# request the roster
self.xmpp.get_roster()
roster.update_contact_groups(self.xmpp.boundjid.bare)
# send initial presence
if config.get('send_initial_presence'):
pres = self.xmpp.make_presence()