summary refs log tree commit diff
path: root/src/timeline/TimelineViewManager.cpp
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2022-03-29 20:54:45 +0200
committerGitHub <noreply@github.com>2022-03-29 20:54:45 +0200
commitf9e294ce0c34bbf820320bbe124de2175aefa0ee (patch)
tree6e32446bbbae091977c8103a502a27ce924df340 /src/timeline/TimelineViewManager.cpp
parentAvoid empty membership events (diff)
parentAdd backend for new room creation dialogs (diff)
downloadnheko-f9e294ce0c34bbf820320bbe124de2175aefa0ee.tar.xz
Merge pull request #1019 from maltee1/qml_createroom
CreateRoom dialog in QML
Diffstat (limited to 'src/timeline/TimelineViewManager.cpp')
-rw-r--r--src/timeline/TimelineViewManager.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/timeline/TimelineViewManager.cpp b/src/timeline/TimelineViewManager.cpp

index a18f3ee2..3bccd8f3 100644 --- a/src/timeline/TimelineViewManager.cpp +++ b/src/timeline/TimelineViewManager.cpp
@@ -199,6 +199,14 @@ TimelineViewManager::openGlobalUserProfile(QString userId) emit openProfile(profile); } +UserProfile * +TimelineViewManager::getGlobalUserProfile(QString userId) +{ + UserProfile *profile = new UserProfile{QString{}, userId, this}; + QQmlEngine::setObjectOwnership(profile, QQmlEngine::JavaScriptOwnership); + return (profile); +} + void TimelineViewManager::setVideoCallItem() {