diff options
author | David Rousselie <dax@happycoders.org> | 2008-05-14 23:54:48 +0400 |
---|---|---|
committer | David Rousselie <dax@happycoders.org> | 2008-05-14 23:54:48 +0400 |
commit | b1099cc903776928a08bc6c7220b2248b9f57c0f (patch) | |
tree | 258ef092f0305006e48f7ed3f6b8394ee02255dd /src | |
parent | e1c9919390268727b979cdcacdf2a758bbf18297 (diff) |
Send presence when cancelling account error
darcs-hash:20080514195448-86b55-c803a583c5ec672f1778ba5a703fc2b116b48d67.gz
Diffstat (limited to 'src')
-rw-r--r-- | src/jcl/jabber/component.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jcl/jabber/component.py b/src/jcl/jabber/component.py index 4b03925..d06bcaa 100644 --- a/src/jcl/jabber/component.py +++ b/src/jcl/jabber/component.py @@ -571,8 +571,8 @@ class AccountManager(object): def cancel_account_error(self, _account): """Reset Account error status and send new available presence""" _account.error = None - return self.get_account_presence_available(_account, - _account.default_lang_class) + self.component.send_stanzas(self.get_account_presence_available(\ + _account, _account.default_lang_class)) ############################################################################### # JCL implementation @@ -1063,7 +1063,7 @@ class JCLComponent(Component, object): """ """ self.send_stanzas(self.account_manager.get_account_error_stanzas(\ _account, exception)) - self.__logger.debug("Error: ", exc_info=True) + self.__logger.error("Error: ", exc_info=True) def get_config_parameter(self, section, parameter): if self.config is not None \ |