plugin XEP-0329: minor reformatting
This commit is contained in:
parent
1fc6c1f66b
commit
afacc8d4c1
1 changed files with 2 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue