summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorEric Eastwood <eric.eastwood@beta.gouv.fr>2024-07-18 06:49:53 -0500
committerGitHub <noreply@github.com>2024-07-18 12:49:53 +0100
commita574de006286352e150b397f34fecc0d83e68148 (patch)
treefc7276d6aa69bb26bfc2db6be279ceeea08b14d6 /synapse
parentOrder `heroes` by `stream_ordering` (as spec'ed) (#17435) (diff)
downloadsynapse-a574de006286352e150b397f34fecc0d83e68148.tar.xz
Add `m.room.create` to default bump event types (#17453)
Add `m.room.create` to default bump event types

This probably helps when no messages have been sent in the room and it
was just created.
Diffstat (limited to 'synapse')
-rw-r--r--synapse/handlers/sliding_sync.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/handlers/sliding_sync.py b/synapse/handlers/sliding_sync.py
index 1b5262d667..a23a6b9dd9 100644
--- a/synapse/handlers/sliding_sync.py
+++ b/synapse/handlers/sliding_sync.py
@@ -53,6 +53,7 @@ logger = logging.getLogger(__name__)
 
 # The event types that clients should consider as new activity.
 DEFAULT_BUMP_EVENT_TYPES = {
+    EventTypes.Create,
     EventTypes.Message,
     EventTypes.Encrypted,
     EventTypes.Sticker,