From 705c283dcb3b5eb1002c699a53f609d1b5c71a9e Mon Sep 17 00:00:00 2001
From: Loren Burkholder <computersemiexpert@outlook.com>
Date: Tue, 20 Jul 2021 19:17:31 -0400
Subject: [PATCH] Fix bad connection

---
 resources/qml/InviteDialog.qml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/resources/qml/InviteDialog.qml b/resources/qml/InviteDialog.qml
index e9ff475d1..dbe8bb070 100644
--- a/resources/qml/InviteDialog.qml
+++ b/resources/qml/InviteDialog.qml
@@ -106,7 +106,7 @@ ApplicationWindow {
                     userid: model.mxid
                     url: model.avatarUrl.replace("mxc://", "image://MxcImage/")
                     displayName: model.displayName
-                    onClicked: TimelineManager.timeline.openUserProfile(model.mxid)
+                    onClicked: Rooms.currentRoom.openUserProfile(model.mxid)
                 }
 
                 ColumnLayout {
-- 
GitLab