From 779ced6da10e35df9273b95928ed182cddecee27 Mon Sep 17 00:00:00 2001 From: TheArcaneBrony Date: Sat, 2 Dec 2023 22:36:15 +0100 Subject: Reformat --- MatrixRoomUtils.LibDMSpace/DMSpaceConfiguration.cs | 2 +- MatrixRoomUtils.LibDMSpace/DMSpaceRoom.cs | 6 +++--- MatrixRoomUtils.LibDMSpace/MatrixRoomUtils.LibDMSpace.csproj | 3 --- MatrixRoomUtils.LibDMSpace/StateEvents/DMRoomInfo.cs | 8 ++++---- MatrixRoomUtils.LibDMSpace/StateEvents/DMSpaceInfo.cs | 6 +++--- 5 files changed, 11 insertions(+), 14 deletions(-) (limited to 'MatrixRoomUtils.LibDMSpace') diff --git a/MatrixRoomUtils.LibDMSpace/DMSpaceConfiguration.cs b/MatrixRoomUtils.LibDMSpace/DMSpaceConfiguration.cs index 4085367..dcb7098 100644 --- a/MatrixRoomUtils.LibDMSpace/DMSpaceConfiguration.cs +++ b/MatrixRoomUtils.LibDMSpace/DMSpaceConfiguration.cs @@ -9,4 +9,4 @@ public class DMSpaceConfiguration { [JsonPropertyName("dm_space_id")] public string? DMSpaceId { get; set; } -} \ No newline at end of file +} diff --git a/MatrixRoomUtils.LibDMSpace/DMSpaceRoom.cs b/MatrixRoomUtils.LibDMSpace/DMSpaceRoom.cs index 247ace8..cbe2303 100644 --- a/MatrixRoomUtils.LibDMSpace/DMSpaceRoom.cs +++ b/MatrixRoomUtils.LibDMSpace/DMSpaceRoom.cs @@ -49,7 +49,7 @@ public class DMSpaceRoom(AuthenticatedHomeserverGeneric homeserver, string roomI else await ImportNativeDMsWithoutLayers(); } -#region Import Native DMs + #region Import Native DMs private async Task ImportNativeDMsWithoutLayers() { var mdirect = await homeserver.GetAccountDataAsync>>("m.direct"); @@ -79,5 +79,5 @@ public class DMSpaceRoom(AuthenticatedHomeserverGeneric homeserver, string roomI var mdirect = await homeserver.GetAccountDataAsync>>("m.direct"); } -#endregion -} \ No newline at end of file + #endregion +} diff --git a/MatrixRoomUtils.LibDMSpace/MatrixRoomUtils.LibDMSpace.csproj b/MatrixRoomUtils.LibDMSpace/MatrixRoomUtils.LibDMSpace.csproj index 58764c7..72c1666 100644 --- a/MatrixRoomUtils.LibDMSpace/MatrixRoomUtils.LibDMSpace.csproj +++ b/MatrixRoomUtils.LibDMSpace/MatrixRoomUtils.LibDMSpace.csproj @@ -10,9 +10,6 @@ - - - diff --git a/MatrixRoomUtils.LibDMSpace/StateEvents/DMRoomInfo.cs b/MatrixRoomUtils.LibDMSpace/StateEvents/DMRoomInfo.cs index de5cb26..716a3ac 100644 --- a/MatrixRoomUtils.LibDMSpace/StateEvents/DMRoomInfo.cs +++ b/MatrixRoomUtils.LibDMSpace/StateEvents/DMRoomInfo.cs @@ -2,13 +2,13 @@ using System.Text.Json.Serialization; using LibMatrix.EventTypes; using LibMatrix.Interfaces; -namespace MatrixRoomUtils.LibDMSpace.StateEvents; +namespace MatrixRoomUtils.LibDMSpace.StateEvents; [MatrixEvent(EventName = EventId)] public class DMRoomInfo : TimelineEventContent { public const string EventId = "gay.rory.dm_room_info"; [JsonPropertyName("remote_users")] public List RemoteUsers { get; set; } - - -} \ No newline at end of file + + +} diff --git a/MatrixRoomUtils.LibDMSpace/StateEvents/DMSpaceInfo.cs b/MatrixRoomUtils.LibDMSpace/StateEvents/DMSpaceInfo.cs index 80eeef9..26e2b90 100644 --- a/MatrixRoomUtils.LibDMSpace/StateEvents/DMSpaceInfo.cs +++ b/MatrixRoomUtils.LibDMSpace/StateEvents/DMSpaceInfo.cs @@ -2,7 +2,7 @@ using System.Text.Json.Serialization; using LibMatrix.EventTypes; using LibMatrix.Interfaces; -namespace MatrixRoomUtils.LibDMSpace.StateEvents; +namespace MatrixRoomUtils.LibDMSpace.StateEvents; [MatrixEvent(EventName = EventId)] public class DMSpaceInfo : TimelineEventContent { @@ -10,5 +10,5 @@ public class DMSpaceInfo : TimelineEventContent { [JsonPropertyName("is_layered")] public bool LayerByUser { get; set; } - -} \ No newline at end of file + +} -- cgit 1.5.1