core: fixed bad closure in connection intialisation sequence (profileConnected in plugins were not called correctly)
This commit is contained in:
parent
9f5df82f1e
commit
83959c7c96
1 changed files with 1 additions and 1 deletions
|
|
@ -260,7 +260,7 @@ class SAT(service.Service):
|
|||
d = current.getConnectionDeferred()
|
||||
d.addCallback(lambda dummy: current.roster.got_roster) # we want to be sure that we got the roster
|
||||
for callback in plugin_conn_cb:
|
||||
d.addCallback(lambda dummy: callback(profile))
|
||||
d.addCallback(lambda dummy, callback=callback: callback(profile))
|
||||
return d
|
||||
|
||||
self.memory.startProfileSession(profile)
|
||||
|
|
|
|||
Loading…
Reference in a new issue