Skip to content

Commit

Permalink
Add m.room.create to default bump event types (#17453)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
MadLittleMods authored Jul 18, 2024
1 parent 3fee32e commit a574de0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/17453.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update experimental [MSC3575](https:/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint to bump room when it is created.
1 change: 1 addition & 0 deletions synapse/handlers/sliding_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@

# The event types that clients should consider as new activity.
DEFAULT_BUMP_EVENT_TYPES = {
EventTypes.Create,
EventTypes.Message,
EventTypes.Encrypted,
EventTypes.Sticker,
Expand Down

0 comments on commit a574de0

Please sign in to comment.