diff options
Diffstat (limited to 'MatrixRoomUtils.LibDMSpace')
5 files changed, 11 insertions, 14 deletions
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<Dictionary<string, List<string>>>("m.direct"); @@ -79,5 +79,5 @@ public class DMSpaceRoom(AuthenticatedHomeserverGeneric homeserver, string roomI var mdirect = await homeserver.GetAccountDataAsync<Dictionary<string, List<string>>>("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 @@ </PropertyGroup> <ItemGroup> - <ProjectReference Condition="Exists('..\ArcaneLibs\ArcaneLibs.Blazor.Components\ArcaneLibs.Blazor.Components.csproj')" Include="..\ArcaneLibs\ArcaneLibs.Blazor.Components\ArcaneLibs.Blazor.Components.csproj"/> - <PackageReference Condition="!Exists('..\ArcaneLibs\ArcaneLibs.Blazor.Components\ArcaneLibs.Blazor.Components.csproj')" Include="ArcaneLibs" Version="*-preview*"/> - <ProjectReference Include="..\ArcaneLibs\ArcaneLibs\ArcaneLibs.csproj" /> <ProjectReference Include="..\LibMatrix\LibMatrix\LibMatrix.csproj"/> </ItemGroup> </Project> 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<string> 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 + +} |