2 files changed, 3 insertions, 3 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.
diff --git a/include/ChatPage.h b/include/ChatPage.h
index d0be9ce1..c09675fb 100644
--- a/include/ChatPage.h
+++ b/include/ChatPage.h
@@ -168,9 +168,6 @@ private:
QString current_room_;
QString current_community_;
- std::map<QString, QPixmap> roomAvatars_;
- std::map<QString, QPixmap> community_avatars_;
-
UserInfoWidget *user_info_widget_;
std::map<QString, QSharedPointer<Community>> communities_;
|