From 1be00f5e20094a2ebfce08ab0352b0580a6d472b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Thu, 22 Aug 2019 22:16:44 +0200 Subject: omemo: put OMEMO data into a folder specific to the account MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- plugins/omemo_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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: -- cgit v1.2.3