diff --git a/src/plugins/plugin_xep_0045.py b/src/plugins/plugin_xep_0045.py index f32ee2ac..3f7b82a7 100755 --- a/src/plugins/plugin_xep_0045.py +++ b/src/plugins/plugin_xep_0045.py @@ -83,7 +83,7 @@ class XEP_0045(object): 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