added changing of name through edit modal, removed old roomsettings

This commit is contained in:
Jedi18 2021-02-12 12:48:12 +05:30
parent f044e2d2a1
commit 35aa0126ac
14 changed files with 214 additions and 1046 deletions

View file

@ -808,9 +808,9 @@ TimelineModel::openUserProfile(QString userid, bool global)
}
void
TimelineModel::openRoomSettings(QString roomid)
TimelineModel::openRoomSettings()
{
RoomSettings *settings = new RoomSettings(roomid, this);
RoomSettings *settings = new RoomSettings(roomId(), this);
connect(this, &TimelineModel::roomAvatarUrlChanged, settings, &RoomSettings::avatarChanged);
openRoomSettingsDialog(settings);
}