mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-18 13:04:06 +01:00
Docstrings
This commit is contained in:
parent
54a9bea88c
commit
a6c813761a
1 changed files with 11 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue