Docstrings

This commit is contained in:
Erik Johnston 2018-08-09 10:41:08 +01:00
parent 54a9bea88c
commit a6c813761a

View File

@ -25,9 +25,19 @@ logger = logging.getLogger(__name__)
class ReplicationHandleProfileChangeRestServlet(ReplicationEndpoint): class ReplicationHandleProfileChangeRestServlet(ReplicationEndpoint):
"""Notifies that a users profile has changed
Request format:
POST /_synapse/replication/profile_changed/:user_id
{
"requester": ...
}
"""
NAME = "profile_changed" NAME = "profile_changed"
PATH_ARGS = ("user_id",) PATH_ARGS = ("user_id",)
POST = True
def __init__(self, hs): def __init__(self, hs):
super(ReplicationHandleProfileChangeRestServlet, self).__init__(hs) super(ReplicationHandleProfileChangeRestServlet, self).__init__(hs)