fix avatar update on timeline sync

This commit is contained in:
Jedi18 2021-02-11 23:50:45 +05:30
parent a7d7d18e92
commit f044e2d2a1
7 changed files with 13 additions and 9 deletions

View file

@ -807,6 +807,14 @@ TimelineModel::openUserProfile(QString userid, bool global)
emit openProfile(userProfile);
}
void
TimelineModel::openRoomSettings(QString roomid)
{
RoomSettings *settings = new RoomSettings(roomid, this);
connect(this, &TimelineModel::roomAvatarUrlChanged, settings, &RoomSettings::avatarChanged);
openRoomSettingsDialog(settings);
}
void
TimelineModel::replyAction(QString id)
{