encryption: Fix for API change in the olm bindings.
This commit is contained in:
parent
2a8cf83f64
commit
783f2d59e8
1 changed files with 1 additions and 1 deletions
|
@ -572,7 +572,7 @@ class MatrixServer:
|
|||
|
||||
@encrypt_enabled
|
||||
def upload_keys(self, device_keys=False, one_time_keys=False):
|
||||
keys = self.olm.account.identity_keys() if device_keys else None
|
||||
keys = self.olm.account.identity_keys if device_keys else None
|
||||
|
||||
one_time_keys = (self.olm.account.one_time_keys["curve25519"] if
|
||||
one_time_keys else None)
|
||||
|
|
Loading…
Reference in a new issue