about summary refs log tree commit diff
path: root/MatrixUtils.Web/Pages/Tools/SpaceDebug.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/Tools/SpaceDebug.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/Tools/SpaceDebug.razor')
-rw-r--r--MatrixUtils.Web/Pages/Tools/SpaceDebug.razor22
1 files changed, 12 insertions, 10 deletions
diff --git a/MatrixUtils.Web/Pages/Tools/SpaceDebug.razor b/MatrixUtils.Web/Pages/Tools/SpaceDebug.razor
index 5d9b8eb..09e5b12 100644
--- a/MatrixUtils.Web/Pages/Tools/SpaceDebug.razor
+++ b/MatrixUtils.Web/Pages/Tools/SpaceDebug.razor
@@ -1,6 +1,7 @@
 @page "/Tools/SpaceDebug"
 @using LibMatrix.Filters
 @using LibMatrix.Helpers
+@using LibMatrix.Utilities
 <h3>SpaceDebug</h3>
 <hr/>
 
@@ -49,16 +50,17 @@
         if (hs is null) return;
 
         var syncHelper = new SyncHelper(hs) {
-            Filter = new SyncFilter() {
-                Presence = new(0),
-                Room = new() {
-                    AccountData = new(limit: 0),
-                    Ephemeral = new(limit: 0),
-                    State = new(limit: 1000, types: new() { "m.space.child", "m.space.parent" }),
-                    Timeline = new(limit: 0)
-                },
-                AccountData = new(limit: 0)
-            }
+            // Filter = new SyncFilter() {
+                // Presence = new(0),
+                // Room = new() {
+                    // AccountData = new(limit: 0),
+                    // Ephemeral = new(limit: 0),
+                    // State = new(limit: 1000, types: new() { "m.space.child", "m.space.parent" }),
+                    // Timeline = new(limit: 0)
+                // },
+                // AccountData = new(limit: 0)
+            // }
+            NamedFilterName = CommonSyncFilters.GetSpaceRelations
         };
         
         Status = "Syncing...";