summary refs log tree commit diff
path: root/src/Cache_p.h
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2023-02-24 02:40:14 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2023-02-24 02:40:14 +0100
commitaae3300860ebe2fac39a156a31f9cddeefb4bf92 (patch)
treede63d71abe28e9e38e4cfb2c877ce5840e9b6a13 /src/Cache_p.h
parentReenable the nosync options for the database (diff)
downloadnheko-aae3300860ebe2fac39a156a31f9cddeefb4bf92.tar.xz
Show rooms you share with someone
Diffstat (limited to 'src/Cache_p.h')
-rw-r--r--src/Cache_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Cache_p.h b/src/Cache_p.h
index 5a4f9afb..38cadfc9 100644
--- a/src/Cache_p.h
+++ b/src/Cache_p.h
@@ -64,6 +64,7 @@ public:
     crypto::Trust roomVerificationStatus(const std::string &room_id);
 
     std::vector<std::string> joinedRooms();
+    std::map<std::string, RoomInfo> getCommonRooms(const std::string &user_id);
 
     QMap<QString, RoomInfo> roomInfo(bool withInvites = true);
     QHash<QString, RoomInfo> invites();