From b9a49e8f8551b0283321cc63a7b4117608d4751b Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Thu, 18 Apr 2024 19:14:44 +0100 Subject: Return membership on each event returned to the client --- synapse/api/constants.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'synapse/api/constants.py') diff --git a/synapse/api/constants.py b/synapse/api/constants.py index 98884b4967..0a9123c56b 100644 --- a/synapse/api/constants.py +++ b/synapse/api/constants.py @@ -234,6 +234,13 @@ class EventContentFields: TO_DEVICE_MSGID: Final = "org.matrix.msgid" +class EventUnsignedContentFields: + """Fields found inside the 'unsigned' data on events""" + + # Requesting user's membership, per MSC4115 + MSC4115_MEMBERSHIP: Final = "io.element.msc4115.membership" + + class RoomTypes: """Understood values of the room_type field of m.room.create events.""" -- cgit 1.5.1