From 20569b568cb84548eb144a13252efc46ff14ad88 Mon Sep 17 00:00:00 2001 From: John Newman Date: Sun, 5 Mar 2023 23:50:35 +0000 Subject: [PATCH] Remove BEEPER_INBOX_DONE, no longer used. --- synapse/api/constants.py | 1 - synapse/rest/client/notifications.py | 1 - synapse/rest/client/receipts.py | 1 - 3 files changed, 3 deletions(-) diff --git a/synapse/api/constants.py b/synapse/api/constants.py index 9f9819b16108..c2006437de03 100644 --- a/synapse/api/constants.py +++ b/synapse/api/constants.py @@ -274,7 +274,6 @@ class ReceiptTypes: READ: Final = "m.read" READ_PRIVATE: Final = "m.read.private" FULLY_READ: Final = "m.fully_read" - BEEPER_INBOX_DONE: Final = "com.beeper.inbox.done" RECEIPTS_MAX_ROOM_SIZE = 100 diff --git a/synapse/rest/client/notifications.py b/synapse/rest/client/notifications.py index 4bb44c24dba1..61268e3af1e2 100644 --- a/synapse/rest/client/notifications.py +++ b/synapse/rest/client/notifications.py @@ -61,7 +61,6 @@ async def on_GET(self, request: SynapseRequest) -> Tuple[int, JsonDict]: user_id, [ ReceiptTypes.READ, - ReceiptTypes.BEEPER_INBOX_DONE, ReceiptTypes.READ_PRIVATE, ], ) diff --git a/synapse/rest/client/receipts.py b/synapse/rest/client/receipts.py index 8aa8ab1b79df..3ab42b53d377 100644 --- a/synapse/rest/client/receipts.py +++ b/synapse/rest/client/receipts.py @@ -49,7 +49,6 @@ def __init__(self, hs: "HomeServer"): ReceiptTypes.READ, ReceiptTypes.READ_PRIVATE, ReceiptTypes.FULLY_READ, - ReceiptTypes.BEEPER_INBOX_DONE, } async def on_POST(