diff options
author | Jedi18 <targetakhil@gmail.com> | 2021-01-27 11:03:08 +0530 |
---|---|---|
committer | Jedi18 <targetakhil@gmail.com> | 2021-01-27 11:03:08 +0530 |
commit | 5e3f5136557b83ee964d6c0cfa4fed422330728d (patch) | |
tree | 1b94d5d41571f83ffbaecff2a8dffda42ccc0b91 /src/timeline/TimelineModel.cpp | |
parent | Merge pull request #419 from LorenDB/master (diff) | |
download | nheko-5e3f5136557b83ee964d6c0cfa4fed422330728d.tar.xz |
update room specific username from userprofile
Diffstat (limited to 'src/timeline/TimelineModel.cpp')
-rw-r--r-- | src/timeline/TimelineModel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp index 4346b0b2..79cf5184 100644 --- a/src/timeline/TimelineModel.cpp +++ b/src/timeline/TimelineModel.cpp @@ -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 |