summary refs log tree commit diff
path: root/synapse/replication/slave/storage/devices.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-01-28 14:43:21 +0000
committerGitHub <noreply@github.com>2020-01-28 14:43:21 +0000
commite17a11066192354f6c6144135a14e7abe524f44c (patch)
tree45ee5996c7b1b6c5078eceb4127d2d9aa1fa017b /synapse/replication/slave/storage/devices.py
parentPass room version object into event_auth.check and check_redaction (#6788) (diff)
downloadsynapse-e17a11066192354f6c6144135a14e7abe524f44c.tar.xz
Detect unknown remote devices and mark cache as stale (#6776)
We just mark the fact that the cache may be stale in the database for
now.
Diffstat (limited to 'synapse/replication/slave/storage/devices.py')
-rw-r--r--synapse/replication/slave/storage/devices.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/replication/slave/storage/devices.py b/synapse/replication/slave/storage/devices.py
index dc625e0d7a..1c77687eea 100644
--- a/synapse/replication/slave/storage/devices.py
+++ b/synapse/replication/slave/storage/devices.py
@@ -72,6 +72,6 @@ class SlavedDeviceStore(EndToEndKeyWorkerStore, DeviceWorkerStore, BaseSlavedSto
                 destination, token
             )
 
-        self._get_cached_devices_for_user.invalidate((user_id,))
+        self.get_cached_devices_for_user.invalidate((user_id,))
         self._get_cached_user_device.invalidate_many((user_id,))
         self.get_device_list_last_stream_id_for_remote.invalidate((user_id,))