mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:26:02 -04:00
Move client receipt processing to federation sender worker.
This is mostly a prerequisite for #4730, but also fits with the general theme of "move everything off the master that we possibly can".
This commit is contained in:
parent
eed7271b3b
commit
fdcad8eabd
4 changed files with 78 additions and 33 deletions
|
@ -183,6 +183,15 @@ class FederationRemoteSendQueue(object):
|
|||
|
||||
self.notifier.on_new_replication_data()
|
||||
|
||||
def send_read_receipt(self, receipt):
|
||||
"""As per TransactionQueue
|
||||
|
||||
Args:
|
||||
receipt (synapse.types.ReadReceipt):
|
||||
"""
|
||||
# nothing to do here: the replication listener will handle it.
|
||||
pass
|
||||
|
||||
def send_presence(self, states):
|
||||
"""As per TransactionQueue
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue