summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-10-22 16:17:12 +0100
committerErik Johnston <erik@matrix.org>2015-10-22 16:17:23 +0100
commit61547106f51e5709c8deba83fd6748b71480c4d5 (patch)
tree1bed2069d22e456aa219de6a8e0160bb0ce21782 /synapse/handlers
parentMerge pull request #322 from matrix-org/erikj/password_config (diff)
downloadsynapse-61547106f51e5709c8deba83fd6748b71480c4d5.tar.xz
Fix receipts for room initial sync
Diffstat (limited to '')
-rw-r--r--synapse/handlers/receipts.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/synapse/handlers/receipts.py b/synapse/handlers/receipts.py
index 86c911c4bf..a47ae3df42 100644
--- a/synapse/handlers/receipts.py
+++ b/synapse/handlers/receipts.py
@@ -156,13 +156,7 @@ class ReceiptsHandler(BaseHandler):
         if not result:
             defer.returnValue([])
 
-        event = {
-            "type": "m.receipt",
-            "room_id": room_id,
-            "content": result,
-        }
-
-        defer.returnValue([event])
+        defer.returnValue(result)
 
 
 class ReceiptEventSource(object):