Commit 278da78a authored by Philipp Hörist's avatar Philipp Hörist

[omemo] Keep compatibility with python-axolotl

Needed sind python-axoltol 0.2.2
parent 7a4fb5c2
......@@ -59,7 +59,7 @@ class LiteAxolotlStore(AxolotlStore):
def _generate_axolotl_keys(self):
identityKeyPair = KeyHelper.generateIdentityKeyPair()
registrationId = KeyHelper.generateRegistrationId()
preKeys = KeyHelper.generatePreKeys(KeyHelper.getRandomSequence(),
preKeys = KeyHelper.generatePreKeys(KeyHelper.getRandomSequence(4294967296),
DEFAULT_PREKEY_AMOUNT)
self.storeLocalData(registrationId, identityKeyPair)
......
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