%! def mxc2url(mxc): serverName = mxc.split('/')[2] mediaId = mxc.split('/')[3] return "https://matrix.org/_matrix/media/v3/download/" + serverName + "/" + mediaId %>
<%def name="render(room)">% endif % if 'children' in room: | ${room['name']} |
${render(subroom)} |
% if 'name' in room:
${room['name']}
% endif
|
% endif
% endif