From 137f03796bf9d1e3f5d310b9898473d220d16b91 Mon Sep 17 00:00:00 2001 From: Phil Morrell Date: Sat, 11 Jun 2022 19:03:58 +0100 Subject: [PATCH] link to alias where possible * view.matrix.org only works on public history rooms * start with our Space and Community expanded :p --- spaces.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/spaces.html b/spaces.html index 35f5b9b..b33b441 100644 --- a/spaces.html +++ b/spaces.html @@ -14,7 +14,9 @@
% if room['name'] != "TOP": - % if room['name'] != "TOP" and room['name'] != "Libre Gaming" and 'children' in room: + % if room['name'].startswith('Libre Gaming'): +
+ % elif room['name'] != "TOP" and room['name'] != "Libre Gaming" and 'children' in room:
% endif
@@ -30,7 +32,9 @@ % if 'room_id' in room: - % if 'children' not in room: + % if 'canonical_alias' in room: + + % elif 'children' not in room and room['world_readable']: % endif