Skip to content



libkazv 0.6.0 features many optimizations and fixes. First of all, the handling of room events not yet decrypted are optimized so that the session ids of undecrypted events in a room are collected in a map, and the session id will be first checked for existence before trying to decrypt. This drastically decreases the time needed for one tick of the main event loop that involves decryption, from about 1s to almost instantaneous, which means you now get notifications for new messages in almost no time. See more details in this diff. We now also conform to the spec by not validating the sender key and sender device id in MegOlm-encrypted messages (they are still validated in Olm messages). This corrects the behaviour when we see an encrypted message of which the sender’s device is removed or just not there at all (for example, this may happen for bridges). Lastly, there are improvements in test coverage, from 71% to 74%.




Internal changes