From 226c6291551c8f07b2f67914d2b28577b1df7244 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Thu, 14 Dec 2023 07:21:04 +0100 Subject: Cleanup --- MatrixRoomUtils.Web/Pages/Rooms/Create.razor | 7 ++++--- MatrixRoomUtils.Web/Pages/Rooms/Index.razor | 2 +- MatrixRoomUtils.Web/Pages/Rooms/PolicyList.razor | 1 + 3 files changed, 6 insertions(+), 4 deletions(-) (limited to 'MatrixRoomUtils.Web/Pages/Rooms') diff --git a/MatrixRoomUtils.Web/Pages/Rooms/Create.razor b/MatrixRoomUtils.Web/Pages/Rooms/Create.razor index 08b21dd..e477f4c 100644 --- a/MatrixRoomUtils.Web/Pages/Rooms/Create.razor +++ b/MatrixRoomUtils.Web/Pages/Rooms/Create.razor @@ -4,6 +4,7 @@ @using ArcaneLibs.Extensions @using LibMatrix @using LibMatrix.EventTypes.Spec.State +@using LibMatrix.EventTypes.Spec.State.RoomInfo @using LibMatrix.Homeservers @using LibMatrix.Responses @using MatrixRoomUtils.Web.Classes.RoomCreationTemplates @@ -49,15 +50,15 @@ Room type: - @if (creationEvent._creationContentBaseType is null) { + @if (creationEvent.CreationContentBaseType is null) {

creationEvent._creationContentBaseType is null!

} else { - + - + } diff --git a/MatrixRoomUtils.Web/Pages/Rooms/Index.razor b/MatrixRoomUtils.Web/Pages/Rooms/Index.razor index e137b6c..fb44337 100644 --- a/MatrixRoomUtils.Web/Pages/Rooms/Index.razor +++ b/MatrixRoomUtils.Web/Pages/Rooms/Index.razor @@ -161,7 +161,7 @@ } RenderContents |= queue.Count == 0; if (queue.Count > 10) RenderContents = false; - await Task.Delay(RenderContents ? 25 : 25); + await Task.Delay(RenderContents ? 25 : 12); } // else { // Console.WriteLine("Failed to dequeue item"); diff --git a/MatrixRoomUtils.Web/Pages/Rooms/PolicyList.razor b/MatrixRoomUtils.Web/Pages/Rooms/PolicyList.razor index adedbd3..846d1cb 100644 --- a/MatrixRoomUtils.Web/Pages/Rooms/PolicyList.razor +++ b/MatrixRoomUtils.Web/Pages/Rooms/PolicyList.razor @@ -3,6 +3,7 @@ @using LibMatrix.Homeservers @using ArcaneLibs.Extensions @using LibMatrix.EventTypes.Spec.State +@using LibMatrix.EventTypes.Spec.State.Policy

Policy list editor - Editing @RoomId


-- cgit 1.5.1