Mercurial > libervia-backend
comparison sat/plugins/plugin_xep_0329.py @ 3360:57afccb91961
plugin XEP-0329: typo
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 17 Sep 2020 19:01:02 +0200 |
parents | 000b6722bd35 |
children | 02583a401e51 |
comparison
equal
deleted
inserted
replaced
3359:000b6722bd35 | 3360:57afccb91961 |
---|---|
737 elt = next(iq_elt.elements(namespace, element)) | 737 elt = next(iq_elt.elements(namespace, element)) |
738 path = Path("/", elt['path']) | 738 path = Path("/", elt['path']) |
739 if len(path.parts) < 2: | 739 if len(path.parts) < 2: |
740 raise RootPathException | 740 raise RootPathException |
741 namespace = elt.getAttribute('namespace') | 741 namespace = elt.getAttribute('namespace') |
742 files_data = await self.host.memory.getfiles( | 742 files_data = await self.host.memory.getFiles( |
743 client, | 743 client, |
744 peer_jid=from_jid, | 744 peer_jid=from_jid, |
745 path=str(path.parent), | 745 path=str(path.parent), |
746 name=path.name, | 746 name=path.name, |
747 namespace=namespace, | 747 namespace=namespace, |