summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2019-08-22 22:16:44 +0200
committerMaxime “pep” Buquet <pep@bouah.net>2019-12-27 18:56:27 +0100
commit1be00f5e20094a2ebfce08ab0352b0580a6d472b (patch)
tree8f213f09dd9abb961cd736148e019b0be54bae2d /plugins
parent95a9858717fc4feaac3a7f8635d7613dfc2acd09 (diff)
downloadpoezio-1be00f5e20094a2ebfce08ab0352b0580a6d472b.tar.gz
poezio-1be00f5e20094a2ebfce08ab0352b0580a6d472b.tar.bz2
poezio-1be00f5e20094a2ebfce08ab0352b0580a6d472b.tar.xz
poezio-1be00f5e20094a2ebfce08ab0352b0580a6d472b.zip
omemo: put OMEMO data into a folder specific to the account
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
Diffstat (limited to 'plugins')
-rw-r--r--plugins/omemo_plugin.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/omemo_plugin.py b/plugins/omemo_plugin.py
index 3908d935..b5a513b1 100644
--- a/plugins/omemo_plugin.py
+++ b/plugins/omemo_plugin.py
@@ -40,7 +40,7 @@ class Plugin(E2EEPlugin):
self.info = lambda i: self.api.information(i, 'Info')
- data_dir = os.path.join(DATA_HOME, 'omemo')
+ data_dir = os.path.join(DATA_HOME, 'omemo', self.core.xmpp.boundjid.bare)
os.makedirs(data_dir, exist_ok=True)
try: