summary refs log tree commit diff
path: root/src/InviteesModel.cpp
diff options
context:
space:
mode:
authorLoren Burkholder <computersemiexpert@outlook.com>2023-02-25 23:19:15 -0500
committerLoren Burkholder <computersemiexpert@outlook.com>2023-02-28 20:40:22 -0500
commit24d401365e8f83c207b9381e59cb0a6ac9e24b1c (patch)
tree87470441d6b65ad74f6d01ec5803b89d22ae5c3e /src/InviteesModel.cpp
parentChange members button color when hovered (diff)
downloadnheko-24d401365e8f83c207b9381e59cb0a6ac9e24b1c.tar.xz
Always open the invite dialog properly from the member list
Diffstat (limited to 'src/InviteesModel.cpp')
-rw-r--r--src/InviteesModel.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/InviteesModel.cpp b/src/InviteesModel.cpp
index 2b95a36f..7e4f4e8b 100644
--- a/src/InviteesModel.cpp
+++ b/src/InviteesModel.cpp
@@ -9,8 +9,9 @@
 #include "MatrixClient.h"
 #include "mtx/responses/profile.hpp"
 
-InviteesModel::InviteesModel(QObject *parent)
-  : QAbstractListModel{parent}
+InviteesModel::InviteesModel(TimelineModel *room, QObject *parent)
+  : QAbstractListModel{parent},
+    room_{room}
 {
 }