Open Timmaks opened 8 years ago
Hi,
thanks!
Yes, I was planning to release a change with this.
Also, I talked with @cmeerw which did a lot of changes to CoSeMe, including encryption (which is HUUUUGE), but might require to do changes in openwapp, as he told me that there are breaking changes in his work.
Some things to clarify: in addition to the token data change you'll also need to include the participant in group message receipts, ie https://github.com/loqui/im/commit/dcaf0bfcb4e8fe502eba440e7b112537e9fba91f
Regarding encryption: most of the encryption stuff is not implemented in the CoSeMe layer, but on top of it. The changes required in CoSeMe are just to set/get encryption keys and be able to send messages with a specified id (that one is the breaking change as it was much easier to do it that way...).
Please fix this as soon as possible, so the users can use whatsapp again.
tokenData: { "v": "2.13.39", // XXX: it is tokenData[d] + - + tokenData[v] + - + port "r": "iPhone-2.12.12", "u": "WhatsApp/2.13.39 S40Version/14.26 Device/Nokia302", "d": "S40" },
i change this in my build of openwapp and it looks like it is working ok ( took the change from loqui im), please make this change to so we can build a new openwapp to fix https://github.com/mozillahispano/openwapp/issues/204