summary refs log tree commit diff
path: root/src/timeline/CommunitiesModel.h
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-06-16 00:09:45 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2021-06-25 11:34:17 +0200
commit12ce7686ce8a7cae411c280d30a12934b8707550 (patch)
tree3c5e769ed366c53afdaaed155f08f39ea06e8e94 /src/timeline/CommunitiesModel.h
parentMerge pull request #611 from balsoft/allow-edits-of-pending-messages (diff)
downloadnheko-12ce7686ce8a7cae411c280d30a12934b8707550.tar.xz
Show some spaces in the community sidebar
Diffstat (limited to 'src/timeline/CommunitiesModel.h')
-rw-r--r--src/timeline/CommunitiesModel.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/timeline/CommunitiesModel.h b/src/timeline/CommunitiesModel.h
index 66d6b21b..8c40ec5b 100644
--- a/src/timeline/CommunitiesModel.h
+++ b/src/timeline/CommunitiesModel.h
@@ -11,6 +11,8 @@
 
 #include <mtx/responses/sync.hpp>
 
+#include "CacheStructs.h"
+
 class CommunitiesModel : public QAbstractListModel
 {
         Q_OBJECT
@@ -71,4 +73,6 @@ private:
         QStringList tags_;
         QString currentTagId_;
         QStringList hiddentTagIds_;
+        QStringList spaceOrder_;
+        std::map<QString, RoomInfo> spaces_;
 };