update room specific username from userprofile

This commit is contained in:
Jedi18 2021-01-27 11:03:08 +05:30
parent e6dc1da22f
commit 5e3f513655
5 changed files with 77 additions and 3 deletions

View file

@ -799,9 +799,9 @@ TimelineModel::viewDecryptedRawMessage(QString id) const
}
void
TimelineModel::openUserProfile(QString userid)
TimelineModel::openUserProfile(QString userid, bool global)
{
emit openProfile(new UserProfile(room_id_, userid, manager_, this));
emit openProfile(new UserProfile(global ? "" : room_id_, userid, manager_, this));
}
void