Upgrade trust of megolm sessions when receiving RoomKey
Before we only did that, when we basically didn't have the key yet. But since we usually get sent a RoomKey when a new message is sent after we sign in, we were discarding, that those messages should usually now be trusted.
Showing
- resources/qml/EncryptionIndicator.qml 4 additions, 1 deletionresources/qml/EncryptionIndicator.qml
- src/Cache.cpp 23 additions, 3 deletionssrc/Cache.cpp
- src/CacheCryptoStructs.h 9 additions, 8 deletionssrc/CacheCryptoStructs.h
- src/encryption/Olm.cpp 32 additions, 14 deletionssrc/encryption/Olm.cpp
- src/encryption/Olm.h 3 additions, 1 deletionsrc/encryption/Olm.h
- src/timeline/TimelineModel.cpp 1 addition, 2 deletionssrc/timeline/TimelineModel.cpp
Loading
Please register or sign in to comment