forked from MirrorHub/synapse
Fix receipts for room initial sync
This commit is contained in:
parent
3993d6ecc2
commit
61547106f5
1 changed files with 1 additions and 7 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue