summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorMatrix <matrix@matrix.org>2015-07-22 16:13:46 +0100
committerMatrix <matrix@matrix.org>2015-07-22 16:13:46 +0100
commit4e2e67fd506899e0c64b5fdfcac91e660de4260b (patch)
tree5eeba157c7badb6f2b5f8f66e8e67d676fb0f50b /synapse/handlers
parentQuery for all the ones we were asked about, not just the last... (diff)
downloadsynapse-4e2e67fd506899e0c64b5fdfcac91e660de4260b.tar.xz
Disable receipts for now
Diffstat (limited to '')
-rw-r--r--synapse/handlers/receipts.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/handlers/receipts.py b/synapse/handlers/receipts.py
index 86c911c4bf..415dd339f6 100644
--- a/synapse/handlers/receipts.py
+++ b/synapse/handlers/receipts.py
@@ -171,6 +171,7 @@ class ReceiptEventSource(object):
 
     @defer.inlineCallbacks
     def get_new_events_for_user(self, user, from_key, limit):
+        defer.returnValue(([], from_key))
         from_key = int(from_key)
         to_key = yield self.get_current_key()
 
@@ -193,6 +194,7 @@ class ReceiptEventSource(object):
     @defer.inlineCallbacks
     def get_pagination_rows(self, user, config, key):
         to_key = int(config.from_key)
+        defer.returnValue(([], to_key))
 
         if config.to_key:
             from_key = int(config.to_key)