summary refs log tree commit diff
path: root/synapse/federation/send_queue.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2019-03-13 15:55:37 +0000
committerRichard van der Hoff <richard@matrix.org>2019-03-13 17:21:19 +0000
commitfdcad8eabdf20718d053255555fb27ac190613c4 (patch)
treef4bcd043bcfaf2dac0b2f578f5920f84ce84dcd7 /synapse/federation/send_queue.py
parentdeclare a ReadReceipt class (diff)
downloadsynapse-fdcad8eabdf20718d053255555fb27ac190613c4.tar.xz
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".
Diffstat (limited to 'synapse/federation/send_queue.py')
-rw-r--r--synapse/federation/send_queue.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/synapse/federation/send_queue.py b/synapse/federation/send_queue.py
index b7d0b25781..bcb41da338 100644
--- a/synapse/federation/send_queue.py
+++ b/synapse/federation/send_queue.py
@@ -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