changeset 451:4f196e2d3781

plugin xep-0045: fixed missing return deferred
author Goffi <goffi@goffi.org>
date Thu, 05 Jan 2012 00:42:24 +0100
parents afe9cfd2ddbb
children fd455b3ca6d4
files src/plugins/plugin_xep_0045.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0045.py	Thu Jan 05 00:21:30 2012 +0100
+++ b/src/plugins/plugin_xep_0045.py	Thu Jan 05 00:42:24 2012 +0100
@@ -140,6 +140,7 @@
         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):