mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-06 07:56:51 +00:00
Disable receipts for now
This commit is contained in:
parent
a56eccbbfc
commit
4e2e67fd50
1 changed files with 2 additions and 0 deletions
|
@ -171,6 +171,7 @@ class ReceiptEventSource(object):
|
||||||
|
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def get_new_events_for_user(self, user, from_key, limit):
|
def get_new_events_for_user(self, user, from_key, limit):
|
||||||
|
defer.returnValue(([], from_key))
|
||||||
from_key = int(from_key)
|
from_key = int(from_key)
|
||||||
to_key = yield self.get_current_key()
|
to_key = yield self.get_current_key()
|
||||||
|
|
||||||
|
@ -193,6 +194,7 @@ class ReceiptEventSource(object):
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
def get_pagination_rows(self, user, config, key):
|
def get_pagination_rows(self, user, config, key):
|
||||||
to_key = int(config.from_key)
|
to_key = int(config.from_key)
|
||||||
|
defer.returnValue(([], to_key))
|
||||||
|
|
||||||
if config.to_key:
|
if config.to_key:
|
||||||
from_key = int(config.to_key)
|
from_key = int(config.to_key)
|
||||||
|
|
Loading…
Add table
Reference in a new issue