psi-im / plugins

Officially supported Psi plugins
56 stars 24 forks source link

[OMEMO] Add fallback message #91

Closed aszlig closed 3 years ago

aszlig commented 3 years ago

If a recipient has published device keys but the current client doesn't support OMEMO, it might not display an error or give any hint that there was such a message.

This is even worse when I recently messaged a PSI 1.5 user with OMEMO keys (made by other clients), and messages were not only completely suppressed but the client even has sent back message receipts.

Adding a fallback <body/> to the message addresses this and it's also the way most other clients with OMEMO support handle this.

Ri0n commented 3 years ago

LGTM. thanks. merged