made requeste changes
This commit is contained in:
parent
195bb0499b
commit
9b5a287d14
5 changed files with 13 additions and 17 deletions
|
|
@ -801,11 +801,7 @@ TimelineModel::viewDecryptedRawMessage(QString id) const
|
|||
void
|
||||
TimelineModel::openUserProfile(QString userid, bool global)
|
||||
{
|
||||
if (global) {
|
||||
emit openProfile(new UserProfile("", utils::localUser(), manager_, this));
|
||||
} else {
|
||||
emit openProfile(new UserProfile(room_id_, userid, manager_, this));
|
||||
}
|
||||
emit openProfile(new UserProfile(global ? "" : room_id_, userid, manager_, this));
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue