Mercurial > libervia-backend
diff src/plugins/plugin_xep_0045.py @ 950:5e8e8a034411
plugin XEP-0045: profileConnected return the deferred, so muc service presence is checked before the end of initialisation
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 31 Mar 2014 12:23:13 +0200 |
parents | e1842ebcb2f3 |
children | 301b342c697a |
line wrap: on
line diff
--- 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