summary refs log tree commit diff
path: root/include/Cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/Cache.h')
-rw-r--r--include/Cache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/Cache.h b/include/Cache.h

index 1fa6c430..7ecc5d59 100644 --- a/include/Cache.h +++ b/include/Cache.h
@@ -196,6 +196,7 @@ public: //! Retrieves the saved room avatar. QImage getRoomAvatar(const QString &id); + QImage getRoomAvatar(const std::string &id); //! Adds a user to the read list for the given event. //! @@ -220,6 +221,7 @@ public: } void saveImage(const QString &url, const QByteArray &data); + RoomInfo singleRoomInfo(const std::string &room_id); std::vector<std::string> roomsWithStateUpdates(const mtx::responses::Sync &res); std::map<QString, RoomInfo> getRoomInfo(const std::vector<std::string> &rooms); std::map<QString, RoomInfo> roomUpdates(const mtx::responses::Sync &sync)