Mercurial > libervia-backend
diff libervia/backend/plugins/plugin_xep_0470.py @ 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 |
parents | 4b842c1fb686 |
children | 0d7bb4df2343 |
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