summary refs log tree commit diff
path: root/synapse/config/api.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2022-01-04 11:08:08 -0500
committerGitHub <noreply@github.com>2022-01-04 11:08:08 -0500
commit8422a7f7f6154bcbadc52f0d0d27b8e6b989cb4c (patch)
tree2e598a44bff193fa7158ed668480c4efbf80298a /synapse/config/api.py
parentDrop Bionic from Debian builds (#11633) (diff)
downloadsynapse-8422a7f7f6154bcbadc52f0d0d27b8e6b989cb4c.tar.xz
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.
Diffstat (limited to 'synapse/config/api.py')
-rw-r--r--synapse/config/api.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/config/api.py b/synapse/config/api.py
index b18044f982..25538b82d5 100644
--- a/synapse/config/api.py
+++ b/synapse/config/api.py
@@ -107,6 +107,8 @@ _DEFAULT_PREJOIN_STATE_TYPES = [
     EventTypes.Name,
     # Per MSC1772.
     EventTypes.Create,
+    # Per MSC3173.
+    EventTypes.Topic,
 ]