Don't include extra fields in known receipt types

This commit is contained in:
Tulir Asokan 2022-07-28 23:11:15 +03:00
parent b0f213fd3d
commit d6825a883e

View File

@ -43,8 +43,6 @@ class ReadMarkerRestServlet(RestServlet):
self._known_receipt_types = {ReceiptTypes.READ, ReceiptTypes.FULLY_READ}
if hs.config.experimental.msc2285_enabled:
self._known_receipt_types.add(ReceiptTypes.READ_PRIVATE)
self._known_receipt_types.add("com.beeper.read.extra")
self._known_receipt_types.add("com.beeper.fully_read.extra")
async def on_POST(
self, request: SynapseRequest, room_id: str