about summary refs log tree commit diff
path: root/MatrixUtils.LibDMSpace/DMSpaceRoom.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MatrixUtils.LibDMSpace/DMSpaceRoom.cs')
-rw-r--r--MatrixUtils.LibDMSpace/DMSpaceRoom.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/MatrixUtils.LibDMSpace/DMSpaceRoom.cs b/MatrixUtils.LibDMSpace/DMSpaceRoom.cs

index 1186b6c..dc88c75 100644 --- a/MatrixUtils.LibDMSpace/DMSpaceRoom.cs +++ b/MatrixUtils.LibDMSpace/DMSpaceRoom.cs
@@ -32,7 +32,7 @@ public class DMSpaceRoom(AuthenticatedHomeserverGeneric homeserver, string roomI else await ImportNativeDMsWithoutLayers(); } - public async Task<List<StateEventResponse>> GetAllActiveLayersAsync() { + public async Task<List<MatrixEventResponse>> GetAllActiveLayersAsync() { var state = await GetFullStateAsListAsync(); return state.Where(x => x.Type == DMSpaceChildLayer.EventId && x.RawContent.ContainsKey("space_id")).ToList(); }