[openpgp] Pass bare jid to backend

This commit is contained in:
Philipp Hörist
2024-05-20 23:15:32 +02:00
parent 4cb1bec189
commit 75ac02a14b

View File

@@ -93,7 +93,7 @@ class OpenPGP(BaseModule):
if not path.exists(): if not path.exists():
path.mkdir(mode=0o700, parents=True) path.mkdir(mode=0o700, parents=True)
self._pgp = PGPBackend(self.own_jid, path) self._pgp = PGPBackend(own_bare_jid, path)
self._storage = Storage(path) self._storage = Storage(path)
self._contacts = PGPContacts(self._pgp, self._storage) self._contacts = PGPContacts(self._pgp, self._storage)
self._fingerprint, self._date = self.get_own_key_details() self._fingerprint, self._date = self.get_own_key_details()