Skip to content
Snippets Groups Projects
Commit 4e2e67fd authored by Matrix's avatar Matrix
Browse files

Disable receipts for now

parent a56eccbb
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment