mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:06:07 -04:00
Wire together receipts and the notifer/federation
This commit is contained in:
parent
716e426933
commit
ca041d5526
4 changed files with 126 additions and 33 deletions
|
@ -28,7 +28,7 @@ class ReceiptRestServlet(RestServlet):
|
|||
PATTERN = client_v2_pattern(
|
||||
"/rooms/(?P<room_id>[^/]*)"
|
||||
"/receipt/(?P<receipt_type>[^/]*)"
|
||||
"/(?P<event_id>[^/])*"
|
||||
"/(?P<event_id>[^/]*)$"
|
||||
)
|
||||
|
||||
def __init__(self, hs):
|
||||
|
@ -41,7 +41,6 @@ class ReceiptRestServlet(RestServlet):
|
|||
def on_POST(self, request, room_id, receipt_type, event_id):
|
||||
user, client = yield self.auth.get_user_by_req(request)
|
||||
|
||||
# TODO: STUFF
|
||||
yield self.receipts_handler.received_client_receipt(
|
||||
room_id,
|
||||
receipt_type,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue