summary refs log tree commit diff
path: root/synapse/replication/http/profile.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/replication/http/profile.py')
-rw-r--r--synapse/replication/http/profile.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/synapse/replication/http/profile.py b/synapse/replication/http/profile.py
index c4d54c936f..aa700c2434 100644
--- a/synapse/replication/http/profile.py
+++ b/synapse/replication/http/profile.py
@@ -25,9 +25,19 @@ logger = logging.getLogger(__name__)
 
 
 class ReplicationHandleProfileChangeRestServlet(ReplicationEndpoint):
+    """Notifies that a users profile has changed
+
+    Request format:
+
+        POST /_synapse/replication/profile_changed/:user_id
+
+        {
+            "requester": ...
+        }
+    """
+
     NAME = "profile_changed"
     PATH_ARGS = ("user_id",)
-    POST = True
 
     def __init__(self, hs):
         super(ReplicationHandleProfileChangeRestServlet, self).__init__(hs)