From cd90256e6970e4ed975c21cd9b324dfaffa65080 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Mon, 22 Jun 2020 19:41:06 +0200 Subject: [PATCH] server: Always use the option initial sync events for the initial sync. --- matrix/server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/matrix/server.py b/matrix/server.py index 003ecf0..9fce1c2 100644 --- a/matrix/server.py +++ b/matrix/server.py @@ -850,6 +850,7 @@ class MatrixServer(object): ).format(prefix=W.prefix("network"), script_name=SCRIPT_NAME) W.prnt(self.server_buffer, msg) timeout = 0 if self.transport_type == TransportType.HTTP else 30000 + limit = (G.CONFIG.network.max_initial_sync_events if self.first_sync else 500) sync_filter = { "room": { "timeline": {"limit": limit},