psi-im / plugins

Officially supported Psi plugins
56 stars 24 forks source link

[OMEMO] Problem if a new roster contact has not OMEMO and the contact enables OMEMO in the talk #67

Closed Neustradamus closed 4 years ago

Neustradamus commented 4 years ago

Add a new roster contact

[XX:XX:XX] user@domain.tld Normal message

Not a message, indication for this bug: OMEMO icon is in grey: "OMEMO encryption is not available for this contact"

[XX:XX:XX] Can you send me OMEMO message? [XX:XX:XX] [OMEMO] The following message is from an untrusted device: [XX:XX:XX] Encryption Enabled [XX:XX:XX] user@domain.tld OMEMO message test

Not a message, indication for this bug: OMEMO icon is always in grey: "OMEMO encryption is not available for this contact".

[XX:XX:XX] [OMEMO] Unable to build any sessions, the message was not sent [XX:XX:XX] Encryption Enabled [XX:XX:XX] reply 1

Not a message, indication for this bug: OMEMO icon is always in grey: "OMEMO encryption is not available for this contact", and I can not disable forced OMEMO.

[XX:XX:XX] *** [OMEMO] Unable to build any sessions, the message was not sent [XX:XX:XX] reply 2

Not a message, indication for this bug: OMEMO icon is always in grey: "OMEMO encryption is not available for this contact", and I can not disable forced OMEMO.

Note 1: In Roster, I see "Keys" icon near username of this contact. Note 2: I have not closed the tab since the first normal message.

Linked to:

tehnick commented 4 years ago

Fixed in Psi+ 1.4.1299 and newer.

Neustradamus commented 2 years ago

There is a new PR which can solves it: