about summary refs log tree commit diff
path: root/MatrixRoomUtils.Web/Shared/RoomListItem.razor
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-12-14 07:21:04 +0100
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-12-14 07:21:04 +0100
commit226c6291551c8f07b2f67914d2b28577b1df7244 (patch)
treec6371db23b54cb30cf734c60274518fbd6954db3 /MatrixRoomUtils.Web/Shared/RoomListItem.razor
parentTemp state (diff)
downloadMatrixUtils-226c6291551c8f07b2f67914d2b28577b1df7244.tar.xz
Cleanup
Diffstat (limited to 'MatrixRoomUtils.Web/Shared/RoomListItem.razor')
-rw-r--r--MatrixRoomUtils.Web/Shared/RoomListItem.razor6
1 files changed, 4 insertions, 2 deletions
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
                         });
                     }
                 }