allow viewing space timelines

Fixes #139
This commit is contained in:
Henry Hiles 2026-11-02 12:30:04 -05:00
commit b55a6e0e83
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -17,7 +17,9 @@ class SelectedRoomController extends Notifier<String?> {
(space) => space?.allChildRooms
.map((room) => room.metadata?.id)
.nonNulls
.toIList(),
.toIList()
// Real spaces have a timeline of their own
.addAll([?space.room?.metadata?.id]),
),
);
if (roomIds == null) return roomId;