diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-08-01 00:59:46 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2021-08-01 00:59:46 +0200 |
commit | 25e7a985b82bbeff9c3c5b4d15b44f2539768260 (patch) | |
tree | d2494f36649a3cfbb1506337fae409845358770d /src/Cache_p.h | |
parent | Ensure the encrypted rooms db is always created (diff) | |
download | nheko-25e7a985b82bbeff9c3c5b4d15b44f2539768260.tar.xz |
Add option to only send encrypted messages to verified devices
fixes #636
Diffstat (limited to 'src/Cache_p.h')
-rw-r--r-- | src/Cache_p.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Cache_p.h b/src/Cache_p.h index 18b9601f..5d700658 100644 --- a/src/Cache_p.h +++ b/src/Cache_p.h @@ -48,7 +48,8 @@ public: // user cache stores user keys std::optional<UserKeyCache> userKeys(const std::string &user_id); std::map<std::string, std::optional<UserKeyCache>> getMembersWithKeys( - const std::string &room_id); + const std::string &room_id, + bool verified_only); void updateUserKeys(const std::string &sync_token, const mtx::responses::QueryKeys &keyQuery); void markUserKeysOutOfDate(lmdb::txn &txn, |