Change to roster migration example

I did have the chance to test the script yet, but it seems like that line should be outside the for loop.
This commit is contained in:
Steven Roose 2015-05-25 01:01:08 +02:00
parent a8ac115310
commit 92901637ec

View file

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