psi-im / plugins

Officially supported Psi plugins
56 stars 24 forks source link

[OMEMO] Protected MUC Room OMEMO enabled, the sender does not see sent OMEMO messages | Identical MUC Room #96

Open Neustradamus opened 2 years ago

Neustradamus commented 2 years ago

Psi / Psi+ OMEMO enabled 2 XMPP Accounts in the same client 1 MUC Room: muc@conference.domain.tld Tab 1: testaccount@domain1.tld connected on muc@conference.domain.tld Tab 2: testaccount@domain2.tld connected on muc@conference.domain.tld


I have edited the ticket after 2 commits which have solved some bugs:


Protected MUC Room OMEMO enabled, the sender does not see sent messages.

To test:

User1 (tab 1) see the sent message:

[XX:XX:00] <User1> message1

User2 (tab 2) see the received message:

[XX:XX:00] <User1> message1

User2 (tab 2) see the sent message:

[XX:XX:05] <User2> message2

User1 (tab 1) see the received message:

[XX:XX:05] <User2> message2

User1 (tab 1) see the sent message:

[XX:XX:20] ***  OMEMO encryption is enabled
[XX:XX:20] <User1> omemo-message1

User2 (tab 2) see the received message:

[XX:XX:20] ***  OMEMO encryption is enabled
[XX:XX:20] <User1> omemo-message1

User2 (tab 2) does not see the OMEMO sent message:

There is nothing

User1 (tab 1) see the received message:

[XX:XX:20] <User2> omemo-message2

Linked to:

cc: @Ri0n, @Vitozz, @tehnick, @stigger, @kssytsrk.

You can look here (lurch):

kssytsrk commented 2 years ago

So, this is an "interoperation of OMEMO plugin with 2 accounts on one Psi+ instance" type of bug, right? I can reproduce these problems (aside from the last one which is present in any case) with 1 instance of Psi+ (running 2 accounts), but not with 2 different instances of Psi+ (each running one account).

Neustradamus commented 2 years ago

@kssytsrk: Thanks to confirm the bugs :)

lao-mang commented 3 months ago

ОМЕМО не юзаю. наверно потому и не сталкивался с этим