ulyssa / iamb

A Matrix client for Vim addicts
https://iamb.chat
Apache License 2.0
608 stars 45 forks source link

iamb missing any messages that couldn't be decrypted #294

Open juippis opened 4 months ago

juippis commented 4 months ago

Hey,

I hope I can explain the problem even though I don't really understand the matrix protocol too well.

Sometimes some messages can't be decrypted - most likely because the sender/server lags out somehow. weechat-matrix and gomuks will indicate that someone sent a message that you couldn't receive with:

gomuks: failed to decrypt megolm event: no session with given ID found

weechat-matrix: Unable to decrypt: The sender's device has not sent us the keys for this message

gomuks allows you to /clearcache to properly retry receiving the messages, and will then show them to you.

I noticed iamb just ignores these events. So you never even know if you missed a message, unless you're running a client in parallel that shows these events.

I hope you can understand the issue here :) let me know if I can provide more information.