boxdot/gurk-rs

Lost messages

boxdot opened this issue · 4 comments

Some messages are lost by presage:

2022-11-01T20:29:20.068435Z ERROR presage::manager: Error opening envelope: SignalProtocolError(InvalidMessage(SenderKey, "unexpected message type for sealed_sender_decrypt")), message will be skipped!

Usually, I see this for group messages.

JFYI, these messages don't seem to be very important as of today, and it's okay that they're skipped.

Thank you for investigating. I will dig in into the on_message handler. Maybe we loose messages there.

The lost messages can be due do missing sessions or InvalidSignedPreKey which is another bug I've seen in the wild.