Calculate verification status from cross-signing sigs and update dynamically

This commit is contained in:
Nicolas Werner 2020-10-07 23:03:14 +02:00
parent 64d5a193f1
commit 7b6fab3373
9 changed files with 223 additions and 157 deletions

View file

@ -1031,7 +1031,7 @@ TimelineModel::sendEncryptedMessage(mtx::events::RoomEvent<T> msg, mtx::events::
try {
if (!mtx::crypto::verify_identity_signature(
json(dev.second), device_id, user_id)) {
dev.second, device_id, user_id)) {
nhlog::crypto()->warn(
"failed to verify identity keys: {}",
json(dev.second).dump(2));