Skip to content

Commit a574de0

Browse files
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.
1 parent 3fee32e commit a574de0

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

changelog.d/17453.misc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint to bump room when it is created.

synapse/handlers/sliding_sync.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353

5454
# The event types that clients should consider as new activity.
5555
DEFAULT_BUMP_EVENT_TYPES = {
56+
EventTypes.Create,
5657
EventTypes.Message,
5758
EventTypes.Encrypted,
5859
EventTypes.Sticker,

0 commit comments

Comments
 (0)