changeset 4263:2109d864a3e7

plugin XEP-470: Don't file configuration on `feature-not-implemented`.
author Goffi <goffi@goffi.org>
date Wed, 12 Jun 2024 22:35:13 +0200 (6 months ago)
parents d366d90a71aa
children 3fbd1a1285c1
files libervia/backend/plugins/plugin_xep_0470.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libervia/backend/plugins/plugin_xep_0470.py	Wed Jun 12 22:34:19 2024 +0200
+++ b/libervia/backend/plugins/plugin_xep_0470.py	Wed Jun 12 22:35:13 2024 +0200
@@ -194,7 +194,7 @@
                     client, service, node
                 )
                 node_config = await self._p.getConfiguration(client, service, node)
-            elif e.condition == "forbidden":
+            elif e.condition in ("forbidden", "feature-not-implemented"):
                 node_config = self._p.make_configuration_form({})
             else:
                 raise e