Before, when we receive an olm-encrypted event and do not yet have the sender's identity keys, we are not able to verify the decrypted event, causing a decryption error. Moreover, once we send our first olm-encrypted event to the other party, querying their keys, we will create our own outbound session and it will replace their session, causing us to be no longer able to decrypt their first message.
Matrix v1.15 adds a mechanism to send device keys info along with the encrypted message. With this, we can fix some situations where such decryption cannot be performed properly. A whole fix still needs to properly query the keys for these undecryptable sessions.
Type: add
CCBUG: https://iron.lily-is.land/T141