Skip to content
This repository has been archived by the owner on Feb 24, 2020. It is now read-only.

[FIX] Axolotl 0.2.0 support #55

Open
Secret-Messenger-App opened this issue Oct 5, 2019 · 1 comment
Open

[FIX] Axolotl 0.2.0 support #55

Secret-Messenger-App opened this issue Oct 5, 2019 · 1 comment

Comments

@Secret-Messenger-App
Copy link

BUG:

tgalal/python-axolotl@ef4a3d2

getRandomSequence MUST take an arg now:

05/10/2019 21:47:42: stderr: ERR: preKeys = KeyHelper.generatePreKeys(KeyHelper.getRandomSequence(),
05/10/2019 21:47:42: stderr: ERR: TypeError: getRandomSequence() takes exactly 1 argument (0 given)

FIX:

https://github.com/ReneVolution/profanity-omemo-plugin/blob/master/src/profanity_omemo_plugin/omemo/liteaxolotlstore.py

-- preKeys = KeyHelper.generatePreKeys(KeyHelper.getRandomSequence(),
++ preKeys = KeyHelper.generatePreKeys(KeyHelper.getRandomSequence(2**32 // 2),

@Secret-Messenger-App
Copy link
Author

This also fixes:

#25
#31

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant