about summary refs log tree commit diff
path: root/LibMatrix
diff options
context:
space:
mode:
authorEmma [it/its]@Rory& <root@rory.gay>2024-05-13 23:54:52 +0200
committerEmma [it/its]@Rory& <root@rory.gay>2024-05-13 23:54:52 +0200
commit45445d09895d68d46b0315d0dc947ae39ff5210f (patch)
tree4dffdd78aece67b6129e66e12fc34c8e4965e6b0 /LibMatrix
parentClearer error messages, fix bug in hs resolution (diff)
downloadLibMatrix-45445d09895d68d46b0315d0dc947ae39ff5210f.tar.xz
Raise query size in synapse room query
Diffstat (limited to 'LibMatrix')
-rw-r--r--LibMatrix/Homeservers/ImplementationDetails/Synapse/SynapseAdminApiClient.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/LibMatrix/Homeservers/ImplementationDetails/Synapse/SynapseAdminApiClient.cs b/LibMatrix/Homeservers/ImplementationDetails/Synapse/SynapseAdminApiClient.cs
index 5cc055d..ac94a7a 100644
--- a/LibMatrix/Homeservers/ImplementationDetails/Synapse/SynapseAdminApiClient.cs
+++ b/LibMatrix/Homeservers/ImplementationDetails/Synapse/SynapseAdminApiClient.cs
@@ -11,7 +11,7 @@ public class SynapseAdminApiClient(AuthenticatedHomeserverSynapse authenticatedH
         var i = 0;
         int? totalRooms = null;
         do {
-            var url = $"/_synapse/admin/v1/rooms?limit={Math.Min(limit, 100)}&dir={dir}&order_by={orderBy}";
+            var url = $"/_synapse/admin/v1/rooms?limit={Math.Min(limit, 250)}&dir={dir}&order_by={orderBy}";
             if (!string.IsNullOrEmpty(searchTerm)) url += $"&search_term={searchTerm}";
 
             if (res?.NextBatch is not null) url += $"&from={res.NextBatch}";