summary refs log tree commit diff
path: root/src/UsersModel.h
diff options
context:
space:
mode:
authorMalte E <97891689+maltee1@users.noreply.github.com>2023-02-01 00:59:49 +0800
committerGitHub <noreply@github.com>2023-01-31 16:59:49 +0000
commit5ed3bfc8f82e9123db4c198b6b9701df57c968f4 (patch)
tree9cb27ca2ed00830dba9d8adcc780d1b5296dd7cc /src/UsersModel.h
parentMerge pull request #1319 from Decodetalkers/menuhideonwayland (diff)
downloadnheko-5ed3bfc8f82e9123db4c198b6b9701df57c968f4.tar.xz
add user search to invite dialog (#1253)
Diffstat (limited to 'src/UsersModel.h')
-rw-r--r--src/UsersModel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/UsersModel.h b/src/UsersModel.h
index aa71990c..525d8f0d 100644
--- a/src/UsersModel.h
+++ b/src/UsersModel.h
@@ -23,13 +23,13 @@ public:
     int rowCount(const QModelIndex &parent = QModelIndex()) const override
     {
         (void)parent;
-        return (int)roomMembers_.size();
+        return (int)userids.size();
     }
     QVariant data(const QModelIndex &index, int role) const override;
 
 private:
     std::string room_id;
-    std::vector<std::string> roomMembers_;
+    std::vector<QString> avatarUrls;
     std::vector<QString> displayNames;
     std::vector<QString> userids;
 };