about summary refs log tree commit diff
path: root/MatrixRoomUtils.Web/Pages/HSAdmin
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-01-15 02:12:26 +0100
committerRory& <root@rory.gay>2024-01-15 02:12:26 +0100
commita65e35fbc2668c2db77e7c312da1b1fb778e09e4 (patch)
tree21368a71474935ba7425299b727b735726eff5a2 /MatrixRoomUtils.Web/Pages/HSAdmin
parentDev test bot (diff)
downloadMatrixUtils-a65e35fbc2668c2db77e7c312da1b1fb778e09e4.tar.xz
LibMatrix update, refactor login page, add web manifest
Diffstat (limited to 'MatrixRoomUtils.Web/Pages/HSAdmin')
-rw-r--r--MatrixRoomUtils.Web/Pages/HSAdmin/HSAdmin.razor2
1 files changed, 1 insertions, 1 deletions
diff --git a/MatrixRoomUtils.Web/Pages/HSAdmin/HSAdmin.razor b/MatrixRoomUtils.Web/Pages/HSAdmin/HSAdmin.razor

index c605e7a..d1a2df5 100644 --- a/MatrixRoomUtils.Web/Pages/HSAdmin/HSAdmin.razor +++ b/MatrixRoomUtils.Web/Pages/HSAdmin/HSAdmin.razor
@@ -27,7 +27,7 @@ else { protected override async Task OnInitializedAsync() { Homeserver = await MRUStorage.GetCurrentSessionOrNavigate(); if (Homeserver is null) return; - ServerVersionResponse = await Homeserver.GetServerVersionAsync(); + ServerVersionResponse = await (Homeserver.FederationClient?.GetServerVersionAsync() ?? Task.FromResult<ServerVersionResponse?>(null)); await base.OnInitializedAsync(); }