summary refs log tree commit diff
path: root/src/timeline/TimelineModel.cpp
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2021-02-01 19:14:57 +0100
committerGitHub <noreply@github.com>2021-02-01 19:14:57 +0100
commit2b7bd09ad330988301576161d629bca40117bb33 (patch)
treef9a5bf3f0a4f3ea2b4afd4f2491702735871a04b /src/timeline/TimelineModel.cpp
parentTranslated using Weblate (Hungarian) (diff)
parentfocus and select text on clicking edit button (diff)
downloadnheko-2b7bd09ad330988301576161d629bca40117bb33.tar.xz
Merge pull request #431 from Jedi18/avatar_username_feature
Username editing (room specific and global)
Diffstat (limited to 'src/timeline/TimelineModel.cpp')
-rw-r--r--src/timeline/TimelineModel.cpp4
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