mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-07-31 22:18:35 -04:00
Only fetch events for rooms and receipts
This commit is contained in:
parent
82b46f556d
commit
0e07f2e15d
3 changed files with 8 additions and 7 deletions
|
@ -126,7 +126,8 @@ class Pusher(object):
|
|||
config = PaginationConfig(from_token=from_tok, limit='1')
|
||||
timeout = (300 + random.randint(-60, 60)) * 1000
|
||||
chunk = yield self.evStreamHandler.get_stream(
|
||||
self.user_id, config, timeout=timeout, affect_presence=False
|
||||
self.user_id, config, timeout=timeout, affect_presence=False,
|
||||
only_keys=("room", "receipt",),
|
||||
)
|
||||
|
||||
# limiting to 1 may get 1 event plus 1 presence event, so
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue