plugin XEP-0470: create a default configuration if node config can't be accessed
This commit is contained in:
parent
6459ef59bc
commit
895ddd36be
1 changed files with 11 additions and 4 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue