Mercurial > libervia-backend
diff sat/plugins/plugin_xep_0050.py @ 3529:698579bedd6f
component file sharing (plugin management): new command to get available quota/used space.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 05 May 2021 15:37:33 +0200 |
parents | be6d91572633 |
children | fad3b3ffa8fe |
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0050.py Wed May 05 15:37:33 2021 +0200 +++ b/sat/plugins/plugin_xep_0050.py Wed May 05 15:37:33 2021 +0200 @@ -34,7 +34,7 @@ from sat.core.xmpp import SatXMPPEntity from sat.core import exceptions from sat.memory.memory import Sessions -from sat.tools import xml_tools +from sat.tools import xml_tools, utils from sat.tools.common import data_format @@ -233,7 +233,7 @@ if action == XEP_0050.ACTION.CANCEL: d = defer.succeed((None, XEP_0050.STATUS.CANCELED, None, None)) else: - d = defer.maybeDeferred( + d = utils.asDeferred( self.callback, self.client, command_elt,