about summary refs log tree commit diff
path: root/MatrixUtils.Web/Pages/Rooms/Space.razor
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2024-01-31 12:10:03 +0100
committerRory& <root@rory.gay>2024-01-31 12:10:03 +0100
commit83e6d98d2d7586fb518ed1b2097c59ea9b8af223 (patch)
tree995dacaec65725007e6a55c88f597aed1d13145a /MatrixUtils.Web/Pages/Rooms/Space.razor
parentRoom list fixes, migration fix, update available handler (diff)
downloadMatrixUtils-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.razor7
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());
+        }
     }
 
 }