Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
UTF-8 characters have the wrong encoding when using OMEMO #1187
In converse.js I see UTF-8 characters (e.g.
The page includes:
I managed to fix it by modifying the arrayBuffer <-> string methods:
Now it seems to work for me. I guess you need to implement it with a API which is supported by more/older browsers as well.
With rev 45643d5 I am not able to write encrypted messages. Receiving client running "Conversations" just does not show any new message. Receiving Client running Pidgin with Lurch is showing: "There was an error decrypting an OMEMO message addressed to this device. See the debug log for details." Lurch debug log shows "failed to decrypt payload (-10020)"
Reverted to 4.0.0 to make basic sending work again
Edit: Did not do any bisecting. Any change between Tag 4.0.0 and HEAD can be the culprit, not necessarily the change to fix this bug