about summary refs log tree commit diff
path: root/MatrixRoomUtils.Web/Pages/HSAdmin/HSAdmin.razor
blob: 59ce70fcfc8a06e8b028ef216523bdc2afa4501b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
@page "/HSAdmin"
@using LibMatrix.Homeservers
<h3>Homeserver Admininistration</h3>
<hr/>

<h4>Synapse tools</h4>
<hr/>
<a href="/HSAdmin/RoomQuery">Query rooms</a>

@code {
    public AuthenticatedHomeserverGeneric? Homeserver { get; set; }

    protected override async Task OnInitializedAsync() {
        Homeserver = await MRUStorage.GetCurrentSessionOrNavigate();
        if (Homeserver is null) return;
        await base.OnInitializedAsync();
    }


}