Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{loqui im} {whats app} {firefox os 2.0} Group messages are still sent as plaintext / are rejected #1231

Open
janu2015 opened this issue May 7, 2017 · 0 comments

Comments

@janu2015
Copy link

janu2015 commented May 7, 2017

Hi,

is there a chance to update loqui to send group messages encrypted instead of being sent as plaintext (until S40 support is discontinued by WA)?
About two weeks ago I was informed that group messages sent by my loqui.im are rejected by all group participants that don't support plaintext messages anymore.

Checking the code I found that all group messages are sent as plaintext. The Promise mentioned here is never fulfilled:

  function encryptMessage (remoteJid, plaintext) {
    return new Promise(function (ready, reject) {
      var myJid = account.core.fullJid;

      if (axolLocalReg && isNotGroupJid(remoteJid)) {
        //
        // encryption for single chats only
        //
      } else {
        reject();
      }

im\src\scripts\loqui\connectors\coseme.js

I removed the isNotGroupJid() condition but that led to http response code 406.
Any help would be greatly appreciated :)

@janu2015 janu2015 changed the title {loqui im} {whats app} {firefox os 2.0} Group messages still send as plaintext / are rejected {loqui im} {whats app} {firefox os 2.0} Group messages are still send as plaintext / are rejected May 7, 2017
@janu2015 janu2015 changed the title {loqui im} {whats app} {firefox os 2.0} Group messages are still send as plaintext / are rejected {loqui im} {whats app} {firefox os 2.0} Group messages are still sent as plaintext / are rejected May 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant