summary refs log tree commit diff
path: root/include/Cache.h
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-05-05 22:40:24 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-05-05 22:40:24 +0300
commit506cf680728bd7f9124354be8ec6112d973fdac6 (patch)
tree1ebe25b2e2bb019e26a8b039e79646567e8c363e /include/Cache.h
parentAdd support for retrieving the notification events (#33) (diff)
downloadnheko-506cf680728bd7f9124354be8ec6112d973fdac6.tar.xz
Implement desktop notification for mac
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)