Add a constant for m.federate. (#10775)

This commit is contained in:
Patrick Cloke 2021-09-08 10:00:43 -04:00 committed by GitHub
parent 66d72b7e17
commit 0288e6033b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 28 additions and 10 deletions

View file

@ -198,6 +198,9 @@ class EventContentFields:
# cf https://github.com/matrix-org/matrix-doc/pull/1772
ROOM_TYPE = "type"
# Whether a room can federate.
FEDERATE = "m.federate"
# The creator of the room, as used in `m.room.create` events.
ROOM_CREATOR = "creator"