summary refs log tree commit diff
path: root/synapse/replication/http/devices.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-11-26 12:04:48 +0000
committerErik Johnston <erik@matrix.org>2019-11-26 12:04:48 +0000
commit35f9165e96f6261e15aadb439a5d2199bede3c99 (patch)
tree5efdf6c6596eeba9611c746f5b88cf294f705c89 /synapse/replication/http/devices.py
parentNewsfile (diff)
downloadsynapse-35f9165e96f6261e15aadb439a5d2199bede3c99.tar.xz
Fixup docs
Diffstat (limited to 'synapse/replication/http/devices.py')
-rw-r--r--synapse/replication/http/devices.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/synapse/replication/http/devices.py b/synapse/replication/http/devices.py
index 795ca7b65e..e32aac0a25 100644
--- a/synapse/replication/http/devices.py
+++ b/synapse/replication/http/devices.py
@@ -21,7 +21,11 @@ logger = logging.getLogger(__name__)
 
 
 class ReplicationUserDevicesResyncRestServlet(ReplicationEndpoint):
-    """Notifies that a user has joined or left the room
+    """Ask master to resync the device list for a user by contacting their
+    server.
+
+    This must happen on master so that the results can be correctly cached in
+    the database and streamed to workers.
 
     Request format: