diff options
author | Emma [it/its]@Rory& <root@rory.gay> | 2024-05-13 23:54:52 +0200 |
---|---|---|
committer | Emma [it/its]@Rory& <root@rory.gay> | 2024-05-13 23:54:52 +0200 |
commit | 45445d09895d68d46b0315d0dc947ae39ff5210f (patch) | |
tree | 4dffdd78aece67b6129e66e12fc34c8e4965e6b0 | |
parent | Clearer error messages, fix bug in hs resolution (diff) | |
download | LibMatrix-bak-45445d09895d68d46b0315d0dc947ae39ff5210f.tar.xz |
Raise query size in synapse room query
m--------- | ArcaneLibs | 0 | ||||
-rw-r--r-- | LibMatrix/Homeservers/ImplementationDetails/Synapse/SynapseAdminApiClient.cs | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/ArcaneLibs b/ArcaneLibs -Subproject 6f6b8e436eaa85eefa96dbf4d92b7aa21fb07ab +Subproject e885d07cb1c0e75a1a16fb473118a86ff3dc5d2 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}"; |