summary refs log tree commit diff
path: root/synapse/replication
diff options
context:
space:
mode:
authorŠimon Brandner <simon.bra.ag@gmail.com>2022-09-01 14:31:54 +0200
committerGitHub <noreply@github.com>2022-09-01 13:31:54 +0100
commit0e99f07952edcb6396654e34da50ddeb0a211067 (patch)
tree98253b6fe9eb802bb815f6fe8d74c98ad5292f81 /synapse/replication
parentMerge branch 'master' into develop (diff)
downloadsynapse-0e99f07952edcb6396654e34da50ddeb0a211067.tar.xz
Remove support for unstable private read receipts (#13653)
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
Diffstat (limited to 'synapse/replication')
-rw-r--r--synapse/replication/tcp/client.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/synapse/replication/tcp/client.py b/synapse/replication/tcp/client.py
index 1ed7230e32..e4f2201c92 100644
--- a/synapse/replication/tcp/client.py
+++ b/synapse/replication/tcp/client.py
@@ -416,10 +416,7 @@ class FederationSenderHandler:
             if not self._is_mine_id(receipt.user_id):
                 continue
             # Private read receipts never get sent over federation.
-            if receipt.receipt_type in (
-                ReceiptTypes.READ_PRIVATE,
-                ReceiptTypes.UNSTABLE_READ_PRIVATE,
-            ):
+            if receipt.receipt_type == ReceiptTypes.READ_PRIVATE:
                 continue
             receipt_info = ReadReceipt(
                 receipt.room_id,