Username can be edited by double clicking on text, added global user profile menu action in user info widget

This commit is contained in:
Jedi18 2021-01-28 20:03:50 +05:30
parent 5e3f513655
commit 87490c29cd
7 changed files with 84 additions and 68 deletions

View file

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