summary refs log tree commit diff
path: root/synapse/rest/client/v2_alpha/receipts.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-07-07 15:25:30 +0100
committerErik Johnston <erik@matrix.org>2015-07-07 15:25:30 +0100
commitca041d55267740214a2cfab95c44ee6f70cc6d0d (patch)
treeeffa50d112ee4482eff5bee06e7c97f53042508f /synapse/rest/client/v2_alpha/receipts.py
parentFix various typos (diff)
downloadsynapse-ca041d55267740214a2cfab95c44ee6f70cc6d0d.tar.xz
Wire together receipts and the notifer/federation
Diffstat (limited to 'synapse/rest/client/v2_alpha/receipts.py')
-rw-r--r--synapse/rest/client/v2_alpha/receipts.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/rest/client/v2_alpha/receipts.py b/synapse/rest/client/v2_alpha/receipts.py
index 829427b7b6..40406e2ede 100644
--- a/synapse/rest/client/v2_alpha/receipts.py
+++ b/synapse/rest/client/v2_alpha/receipts.py
@@ -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,