about summary refs log tree commit diff
path: root/MatrixRoomUtils.Desktop
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.Desktop
parentTemp state (diff)
downloadMatrixUtils-226c6291551c8f07b2f67914d2b28577b1df7244.tar.xz
Cleanup
Diffstat (limited to 'MatrixRoomUtils.Desktop')
-rw-r--r--MatrixRoomUtils.Desktop/Components/RoomListEntry.axaml.cs1
-rw-r--r--MatrixRoomUtils.Desktop/RoomInfo.cs5
2 files changed, 5 insertions, 1 deletions
diff --git a/MatrixRoomUtils.Desktop/Components/RoomListEntry.axaml.cs b/MatrixRoomUtils.Desktop/Components/RoomListEntry.axaml.cs

index aaa1bee..69458aa 100644 --- a/MatrixRoomUtils.Desktop/Components/RoomListEntry.axaml.cs +++ b/MatrixRoomUtils.Desktop/Components/RoomListEntry.axaml.cs
@@ -3,6 +3,7 @@ using Avalonia.Interactivity; using Avalonia.Media.Imaging; using LibMatrix; using LibMatrix.EventTypes.Spec.State; +using LibMatrix.EventTypes.Spec.State.RoomInfo; using LibMatrix.Helpers; using LibMatrix.Interfaces.Services; using LibMatrix.Services; diff --git a/MatrixRoomUtils.Desktop/RoomInfo.cs b/MatrixRoomUtils.Desktop/RoomInfo.cs
index ebd80ab..a562086 100644 --- a/MatrixRoomUtils.Desktop/RoomInfo.cs +++ b/MatrixRoomUtils.Desktop/RoomInfo.cs
@@ -1,4 +1,5 @@ using LibMatrix; +using LibMatrix.EventTypes; using LibMatrix.Interfaces; using LibMatrix.Responses; using LibMatrix.RoomTypes; @@ -21,7 +22,9 @@ public class RoomInfo { @event = new StateEventResponse { RoomId = Room.RoomId, Type = type, - StateKey = stateKey + StateKey = stateKey, + Sender = null, //TODO: implement + EventId = null }; try { @event.TypedContent = await Room.GetStateAsync<EventContent>(type, stateKey);