add error message and update avatars on avatar change in timeline and user profile dialog
This commit is contained in:
parent
c3e02240bf
commit
d535cc5e75
5 changed files with 48 additions and 4 deletions
|
|
@ -801,7 +801,10 @@ TimelineModel::viewDecryptedRawMessage(QString id) const
|
|||
void
|
||||
TimelineModel::openUserProfile(QString userid, bool global)
|
||||
{
|
||||
emit openProfile(new UserProfile(global ? "" : room_id_, userid, manager_, this));
|
||||
UserProfile *userProfile = new UserProfile(global ? "" : room_id_, userid, manager_, this);
|
||||
connect(
|
||||
this, &TimelineModel::roomAvatarUrlChanged, userProfile, &UserProfile::avatarUrlChanged);
|
||||
emit openProfile(userProfile);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue