Docstrings
This commit is contained in:
parent
54a9bea88c
commit
a6c813761a
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue