diff --git a/src/plugins/plugin_xep_0045.py b/src/plugins/plugin_xep_0045.py index ab7c78e3..4807ac00 100755 --- a/src/plugins/plugin_xep_0045.py +++ b/src/plugins/plugin_xep_0045.py @@ -140,6 +140,7 @@ class XEP_0045(): def _errDeferred(exc_obj = Exception, txt='Error while joining room'): d = defer.Deferred() d.errback(exc_obj(txt)) + return d profile = self.host.memory.getProfileName(profile_key) if not self.__check_profile(profile):