plugin XEP-0470: create a default configuration if node config can't be accessed

This commit is contained in:
Goffi 2022-12-05 11:54:47 +01:00
commit 895ddd36be

View file

@ -194,6 +194,8 @@ class PubsubAttachments:
client, service, node
)
node_config = await self._p.getConfiguration(client, service, node)
elif e.condition == "forbidden":
node_config = self._p.make_configuration_form({})
else:
raise e
try: