# HG changeset patch # User Goffi # Date 1396261393 -7200 # Node ID 5e8e8a034411e897c8e4db8b1cb6533f3e648ee6 # Parent b4cd968e30fb8ea59f471c3f3cbb64dc84fce3da plugin XEP-0045: profileConnected return the deferred, so muc service presence is checked before the end of initialisation diff -r b4cd968e30fb -r 5e8e8a034411 src/plugins/plugin_xep_0045.py --- a/src/plugins/plugin_xep_0045.py Mon Mar 31 12:23:13 2014 +0200 +++ b/src/plugins/plugin_xep_0045.py Mon Mar 31 12:23:13 2014 +0200 @@ -83,7 +83,7 @@ def assign_service(service): client = self.host.getClient(profile) client.muc_service = service - self.getMUCService(profile_key=profile).addCallback(assign_service) + return self.getMUCService(profile_key=profile).addCallback(assign_service) def __check_profile(self, profile): """check if profile is used and connected