Include the topic event in the prejoin state, per MSC3173. (#11666)

Invites and knocks will now include the topic in the stripped state
send to clients before joining the room.
This commit is contained in:
Patrick Cloke 2022-01-04 11:08:08 -05:00 committed by GitHub
parent 13c974ed35
commit 8422a7f7f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 0 deletions

View file

@ -107,6 +107,8 @@ _DEFAULT_PREJOIN_STATE_TYPES = [
EventTypes.Name,
# Per MSC1772.
EventTypes.Create,
# Per MSC3173.
EventTypes.Topic,
]