by default include m.room.encryption on invites (#3902)

* by default include m.room.encryption on invites

* fix constant

* changelog
This commit is contained in:
Matthew Hodgson 2019-01-30 16:26:13 +00:00 committed by Amber Brown
parent d534a27fe8
commit ad7ac8853c
3 changed files with 4 additions and 0 deletions

View file

@ -24,6 +24,7 @@ class ApiConfig(Config):
EventTypes.JoinRules,
EventTypes.CanonicalAlias,
EventTypes.RoomAvatar,
EventTypes.RoomEncryption,
EventTypes.Name,
])
@ -36,5 +37,6 @@ class ApiConfig(Config):
- "{JoinRules}"
- "{CanonicalAlias}"
- "{RoomAvatar}"
- "{RoomEncryption}"
- "{Name}"
""".format(**vars(EventTypes))