@page "/Rooms" @using MatrixRoomUtils.Core.StateEventTypes

Room list

@if (Rooms is not null) { } @code { private List Rooms { get; set; } private ProfileResponse GlobalProfile { get; set; } protected override async Task OnInitializedAsync() { var hs = await MRUStorage.GetCurrentSessionOrNavigate(); if (hs is null) return; GlobalProfile = await hs.GetProfile(hs.WhoAmI.UserId); Rooms = await hs.GetJoinedRooms(); await base.OnInitializedAsync(); } }