plugin XEP-0329: minor reformatting

This commit is contained in:
Goffi 2020-11-12 14:53:15 +01:00
commit afacc8d4c1

View file

@ -357,7 +357,8 @@ class XEP_0329(object):
def profileConnected(self, client):
if client.is_component:
client._file_sharing_allowed_hosts = self.host.memory.getConfig(
'component file_sharing', 'http_upload_allowed_hosts_list') or [client.host]
'component file_sharing',
'http_upload_allowed_hosts_list') or [client.host]
else:
client._XEP_0329_root_node = ShareNode(
None,