summary refs log tree commit diff
path: root/synapse/streams
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-07-02 11:40:22 +0100
committerErik Johnston <erik@matrix.org>2015-07-02 11:45:44 +0100
commitddf7979531cf514ee54e280714bdf228d88a62d5 (patch)
tree5bf9fe3122e56e3a336b83995a52c4662dfd059c /synapse/streams
parentAdd basic ReceiptHandler (diff)
downloadsynapse-ddf7979531cf514ee54e280714bdf228d88a62d5.tar.xz
Add receipts_key to StreamToken
Diffstat (limited to 'synapse/streams')
-rw-r--r--synapse/streams/events.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/streams/events.py b/synapse/streams/events.py
index dff7970bea..0a1a3a3d03 100644
--- a/synapse/streams/events.py
+++ b/synapse/streams/events.py
@@ -62,7 +62,8 @@ class EventSources(object):
             ),
             typing_key=(
                 yield self.sources["typing"].get_current_key()
-            )
+            ),
+            receipt_key="0",
         )
         defer.returnValue(token)