From 509e99101add7494f831feaaff5d938d6ca9847e Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Mon, 14 Sep 2020 12:40:18 +0100 Subject: [PATCH] Exclude backfilled messages from /sync --- syncapi/routing/messages.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syncapi/routing/messages.go b/syncapi/routing/messages.go index fbe66dbd9..0999d3e8c 100644 --- a/syncapi/routing/messages.go +++ b/syncapi/routing/messages.go @@ -417,7 +417,7 @@ func (r *messagesReq) backfill(roomID string, backwardsExtremities map[string][] []gomatrixserverlib.HeaderedEvent{}, []string{}, []string{}, - nil, false, + nil, true, ) if err != nil { return nil, err