From 226c6291551c8f07b2f67914d2b28577b1df7244 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Thu, 14 Dec 2023 07:21:04 +0100 Subject: Cleanup --- MatrixRoomUtils.Web/Shared/RoomListItem.razor | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'MatrixRoomUtils.Web/Shared/RoomListItem.razor') diff --git a/MatrixRoomUtils.Web/Shared/RoomListItem.razor b/MatrixRoomUtils.Web/Shared/RoomListItem.razor index c5c3cfe..3aa28e6 100644 --- a/MatrixRoomUtils.Web/Shared/RoomListItem.razor +++ b/MatrixRoomUtils.Web/Shared/RoomListItem.razor @@ -91,13 +91,15 @@ else { LoadData = false; RoomInfo.StateEvents.Add(new() { Type = "m.room.create", - TypedContent = new RoomCreateEventContent() { RoomVersion = "0" } + TypedContent = new RoomCreateEventContent() { RoomVersion = "0" }, + RoomId = null, Sender = null, EventId = null //TODO: implement }); RoomInfo.StateEvents.Add(new() { Type = "m.room.name", TypedContent = new RoomNameEventContent() { Name = "M_FORBIDDEN: Are you a member of this room? " + RoomInfo.Room.RoomId - } + }, + RoomId = null, Sender = null, EventId = null //TODO: implement }); } } -- cgit 1.4.1