From 9eb1c496a0911a8c3dcab0a4e103440ba3c1e7ec Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Fri, 18 May 2018 21:43:58 +0300 Subject: Retrieve the current room state from cache when the edit modal opens --- include/dialogs/RoomSettings.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/dialogs') diff --git a/include/dialogs/RoomSettings.hpp b/include/dialogs/RoomSettings.hpp index 1434eee6..375a531e 100644 --- a/include/dialogs/RoomSettings.hpp +++ b/include/dialogs/RoomSettings.hpp @@ -93,6 +93,8 @@ private: void setAvatar(const QImage &img) { avatarImg_ = img; } void setupEditButton(); + //! Retrieve the current room information from cache. + void retrieveRoomInfo(); //! Whether the user would be able to change the name or the topic of the room. bool hasEditRights_ = true; -- cgit 1.5.1