diff options
author | Rory& <root@rory.gay> | 2024-01-31 12:10:03 +0100 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-01-31 12:10:03 +0100 |
commit | 83e6d98d2d7586fb518ed1b2097c59ea9b8af223 (patch) | |
tree | 995dacaec65725007e6a55c88f597aed1d13145a /MatrixUtils.Web/Pages/Rooms/Space.razor | |
parent | Room list fixes, migration fix, update available handler (diff) | |
download | MatrixUtils-83e6d98d2d7586fb518ed1b2097c59ea9b8af223.tar.xz |
New tools, fix room list items
Diffstat (limited to 'MatrixUtils.Web/Pages/Rooms/Space.razor')
-rw-r--r-- | MatrixUtils.Web/Pages/Rooms/Space.razor | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/MatrixUtils.Web/Pages/Rooms/Space.razor b/MatrixUtils.Web/Pages/Rooms/Space.razor index 2dd84a1..01ab1c4 100644 --- a/MatrixUtils.Web/Pages/Rooms/Space.razor +++ b/MatrixUtils.Web/Pages/Rooms/Space.razor @@ -93,8 +93,11 @@ } private async Task JoinAllRooms() { - List<Task<RoomIdResponse>> tasks = Rooms.Select(room => room.JoinAsync(ServersInSpace.ToArray())).ToList(); - await Task.WhenAll(tasks); + // List<Task<RoomIdResponse>> tasks = Rooms.Select(room => room.JoinAsync(ServersInSpace.ToArray())).ToList(); + // await Task.WhenAll(tasks); + foreach (var room in Rooms) { + await room.JoinAsync(ServersInSpace.ToArray()); + } } } |