0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-18 16:24:25 +01:00

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):
"""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)