Commit c550f6fc authored by Philipp Hörist's avatar Philipp Hörist
Browse files

[omemo] Fix getRandomSequence()

There was an API change in python-axolotl
parent a796c881
......@@ -95,9 +95,10 @@ class LiteAxolotlStore(AxolotlStore):
def _generate_axolotl_keys(self):
identity_key_pair = KeyHelper.generateIdentityKeyPair()
registration_id = KeyHelper.getRandomSequence(max=2147483647)
pre_keys = KeyHelper.generatePreKeys(KeyHelper.getRandomSequence(),
registration_id = KeyHelper.getRandomSequence(2147483647)
pre_keys = KeyHelper.generatePreKeys(
self.storeLocalData(registration_id, identity_key_pair)
signed_pre_key = KeyHelper.generateSignedPreKey(
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment