xep_0384: otpk class doesn't need instancianting
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
6641404def
commit
4626c80ff3
1 changed files with 1 additions and 1 deletions
|
@ -152,7 +152,7 @@ class XEP_0384(BasePlugin):
|
|||
if self.storage_backend is None:
|
||||
storage = JSONFileStorage(self.data_dir)
|
||||
|
||||
otpkpolicy = self.otpk_policy()
|
||||
otpkpolicy = self.otpk_policy
|
||||
bare_jid = self.xmpp.boundjid.bare
|
||||
self._device_id = _load_device_id(self.data_dir)
|
||||
|
||||
|
|
Loading…
Reference in a new issue