mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-10-01 08:25:44 -04:00
Docstrings
This commit is contained in:
parent
54a9bea88c
commit
a6c813761a
@ -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 New Issue
Block a user