Merge pull request #369 from stevenroose/patch-2

Change to roster migration e
This commit is contained in:
Mike Taylor 2015-07-05 15:45:19 -04:00
commit 8c94d894ab

View File

@ -113,7 +113,7 @@ def on_session2(event):
new_xmpp.update_roster(jid, new_xmpp.update_roster(jid,
name = item['name'], name = item['name'],
groups = item['groups']) groups = item['groups'])
new_xmpp.disconnect() new_xmpp.disconnect()
new_xmpp.add_event_handler('session_start', on_session2) new_xmpp.add_event_handler('session_start', on_session2)
if new_xmpp.connect(): if new_xmpp.connect():