core: fix and renamed getLocalPath -> get_local_path:
- renaming is following global methods renaming to use snake_case - for reasons lost in the mists of time, a `profile` argument was used while checking if `client` is set is enough, and `client.profile` was escaped but actually not used in the path.
This commit is contained in:
parent
0cd676115c
commit
f160577a65
1 changed files with 23 additions and 25 deletions
|
|
@ -73,7 +73,7 @@ class FileSharingManagement(object):
|
|||
self.host = host
|
||||
self._c = host.plugins["XEP-0050"]
|
||||
self._t = host.plugins["XEP-0264"]
|
||||
self.files_path = host.getLocalPath(None, C.FILES_DIR, profile=False)
|
||||
self.files_path = host.get_local_path(None, C.FILES_DIR)
|
||||
host.bridge.addMethod(
|
||||
"fileSharingDelete",
|
||||
".plugin",
|
||||
|
|
|
|||
Loading…
Reference in a new issue