summary refs log tree commit diff
path: root/include/Cache.h
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2018-04-24 14:13:05 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2018-04-24 14:13:05 +0300
commit0028fdfe6c7485515b2535bb73b1d9075f9bf4fe (patch)
tree3f79b29c5ec38d59737a8d8f051c8c0b6ae778d3 /include/Cache.h
parentFix CI errors (diff)
downloadnheko-0028fdfe6c7485515b2535bb73b1d9075f9bf4fe.tar.xz
Remove map from room_id to QPixmap from ChatPage
The avatars are loaded from cache
Diffstat (limited to 'include/Cache.h')
-rw-r--r--include/Cache.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/Cache.h b/include/Cache.h

index 1faf0677..acad45e2 100644 --- a/include/Cache.h +++ b/include/Cache.h
@@ -166,6 +166,9 @@ public: bool isFormatValid(); void setCurrentFormat(); + //! Retrieves the saved room avatar. + QImage getRoomAvatar(const QString &id); + //! Adds a user to the read list for the given event. //! //! There should be only one user id present in a receipt list per room.