diff --git a/src/core/sat_main.py b/src/core/sat_main.py index d2ce8c20..78f7ef52 100644 --- a/src/core/sat_main.py +++ b/src/core/sat_main.py @@ -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)