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:
parent
a8ac115310
commit
92901637ec
1 changed files with 1 additions and 1 deletions
|
@ -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():
|
||||
|
|
Loading…
Reference in a new issue