summary refs log tree commit diff
path: root/tests/replication
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2021-08-19 11:12:55 -0400
committerGitHub <noreply@github.com>2021-08-19 11:12:55 -0400
commit000aa89be63c27092998eca03c97eaead21404cd (patch)
tree2e4be20583f4c2b0b7744ad993f79f7e543e0a14 /tests/replication
parentSupport MSC3283: Expose `enable_set_displayname` in capabilities (#10452) (diff)
downloadsynapse-000aa89be63c27092998eca03c97eaead21404cd.tar.xz
Do not include rooms with an unknown room version in a sync response. (#10644)
A user will still see this room if it is in a local cache, but it will
not reappear if clearing the cache and reloading.
Diffstat (limited to 'tests/replication')
-rw-r--r--tests/replication/slave/storage/test_events.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/replication/slave/storage/test_events.py b/tests/replication/slave/storage/test_events.py
index 8d1b0606c4..b25a06b427 100644
--- a/tests/replication/slave/storage/test_events.py
+++ b/tests/replication/slave/storage/test_events.py
@@ -150,6 +150,7 @@ class SlavedEventStoreTestCase(BaseSlavedStoreTestCase):
                     "invite",
                     event.event_id,
                     event.internal_metadata.stream_ordering,
+                    RoomVersions.V1.identifier,
                 )
             ],
         )