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.
This commit is contained in:
Eric Eastwood 2024-07-18 06:49:53 -05:00 committed by GitHub
parent 3fee32ed6b
commit a574de0062
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

1
changelog.d/17453.misc Normal file
View file

@ -0,0 +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.

View file

@ -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,