xep_0384: Fix deviceID variable

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2018-11-18 15:02:03 +01:00
parent e58c50338a
commit 8a22062b5b

View file

@ -83,14 +83,14 @@ class XEP_0384(BasePlugin):
otpkpolicy = KeepingOTPKPolicy()
backend = SignalBackend
bare_jid = self.xmpp.boundjid.bare
device_id = self._load_device_id(self.cache_dir)
self._device_id = self._load_device_id(self.cache_dir)
future = SessionManager.create(
storage,
otpkpolicy,
backend,
bare_jid,
device_id,
self._device_id,
)
asyncio.ensure_future(future)