Retrieve the current room state from cache when the edit modal opens

This commit is contained in:
Konstantinos Sideris 2018-05-18 21:43:58 +03:00
parent d88dee3185
commit 9eb1c496a0
2 changed files with 16 additions and 8 deletions

View file

@ -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;