Hide rooms that have a defined room type

I have a room with a custom type that's only for holding data, and
doesn't need to be shown in the room list. Currently the spec is a bit
vague about what clients should do, but hiding them is probably fine
for now.
This commit is contained in:
Joshua Goins
2024-11-09 16:14:00 -05:00
parent 00c5aa26bb
commit bb9ce117de
3 changed files with 12 additions and 0 deletions

View File

@@ -50,6 +50,7 @@ public:
IconRole,
AttentionRole, /**< Whether there are any notifications. */
FavouriteRole, /**< Whether the room is favourited. */
RoomTypeRole, /**< The room's type. */
};
Q_ENUM(EventRoles)
explicit RoomTreeModel(QObject *parent = nullptr);