summary refs log tree commit diff
path: root/src/encryption/Olm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/encryption/Olm.h')
-rw-r--r--src/encryption/Olm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/encryption/Olm.h b/src/encryption/Olm.h
index 252d08b4..58760005 100644
--- a/src/encryption/Olm.h
+++ b/src/encryption/Olm.h
@@ -96,7 +96,9 @@ decryptEvent(const MegolmSessionIndex &index,
              const mtx::events::EncryptedEvent<mtx::events::msg::Encrypted> &event,
              bool dont_write_db = false);
 crypto::Trust
-calculate_trust(const std::string &user_id, const MegolmSessionIndex &index);
+calculate_trust(const std::string &user_id,
+                const std::string &room_id,
+                const mtx::events::msg::Encrypted &event);
 
 void
 mark_keys_as_published();