diff options
author | Erik Johnston <erik@matrix.org> | 2015-10-22 16:17:12 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-10-22 16:17:23 +0100 |
commit | 61547106f51e5709c8deba83fd6748b71480c4d5 (patch) | |
tree | 1bed2069d22e456aa219de6a8e0160bb0ce21782 /synapse/handlers | |
parent | Merge pull request #322 from matrix-org/erikj/password_config (diff) | |
download | synapse-61547106f51e5709c8deba83fd6748b71480c4d5.tar.xz |
Fix receipts for room initial sync
Diffstat (limited to '')
-rw-r--r-- | synapse/handlers/receipts.py | 8 |
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): |