summary refs log tree commit diff
path: root/include/Cache.h
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-04-22 14:19:05 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-04-22 14:19:05 +0300
commit1642f3cf40154e6183b7eae031a40d89c7eba948 (patch)
treea45add2aa5bb43625ced920c37c4573209ae5a05 /include/Cache.h
parentProperly clean stale invites (diff)
downloadnheko-1642f3cf40154e6183b7eae031a40d89c7eba948.tar.xz
Update invites in the UI after sync
Diffstat (limited to 'include/Cache.h')
-rw-r--r--include/Cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/Cache.h b/include/Cache.h

index 78a35a65..1faf0677 100644 --- a/include/Cache.h +++ b/include/Cache.h
@@ -137,6 +137,7 @@ public: std::vector<std::string> joinedRooms(); QMap<QString, RoomInfo> roomInfo(bool withInvites = true); + std::map<QString, bool> invites(); //! Calculate & return the name of the room. QString getRoomName(lmdb::txn &txn, lmdb::dbi &statesdb, lmdb::dbi &membersdb);