# HG changeset patch # User Goffi # Date 1526052277 -7200 # Node ID 8378806a70fea1a5cff4db7410e7ab4ef0fc05f2 # Parent 2e6864b1d57714f4f82e596ff065f010e16c685d plugin XEP-0045: fixed room configuration cancellation diff -r 2e6864b1d577 -r 8378806a70fe sat/plugins/plugin_xep_0045.py --- a/sat/plugins/plugin_xep_0045.py Fri May 11 17:13:58 2018 +0200 +++ b/sat/plugins/plugin_xep_0045.py Fri May 11 17:24:37 2018 +0200 @@ -305,6 +305,9 @@ return d def _submitConfiguration(self, raw_data, profile): + cancelled = C.bool(raw_data.get("cancelled", C.BOOL_FALSE)) + if cancelled: + return defer.succeed({}) client = self.host.getClient(profile) try: session_data = self._sessions.profileGet(raw_data["session_id"], profile)