summary refs log tree commit diff
path: root/src/Cache.h
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-07-21 21:40:11 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-07-22 14:11:28 +0300
commit5dfd26abc5c57fe278a3b396a793da11f56eae6f (patch)
tree61217f65887e539fd2c4260c1433f0c30fd96be8 /src/Cache.h
parenti18n: Update Polish translation (#382) (diff)
downloadnheko-5dfd26abc5c57fe278a3b396a793da11f56eae6f.tar.xz
Reject key requests for users that are not members of the room
Diffstat (limited to 'src/Cache.h')
-rw-r--r--src/Cache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Cache.h b/src/Cache.h

index d5d1729e..beca502f 100644 --- a/src/Cache.h +++ b/src/Cache.h
@@ -400,6 +400,9 @@ public: void setDeviceList(const std::string &user_id, const std::vector<std::string> &devices); std::vector<std::string> getDeviceList(const std::string &user_id); + //! Check if a user is a member of the room. + bool isRoomMember(const std::string &user_id, const std::string &room_id); + // // Outbound Megolm Sessions //