summary refs log tree commit diff
path: root/synapse/api
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2024-04-18 19:14:44 +0100
committerRichard van der Hoff <richard@matrix.org>2024-04-22 20:51:40 +0100
commitb9a49e8f8551b0283321cc63a7b4117608d4751b (patch)
tree496933bfea77c3fee178e44a8ba6857d7c02d0f2 /synapse/api
parentAdd a test for client event filtering (diff)
downloadsynapse-b9a49e8f8551b0283321cc63a7b4117608d4751b.tar.xz
Return membership on each event returned to the client
Diffstat (limited to 'synapse/api')
-rw-r--r--synapse/api/constants.py7
1 files changed, 7 insertions, 0 deletions
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."""