mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-24 18:45:52 +03:00
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:
parent
3fee32ed6b
commit
a574de0062
2 changed files with 2 additions and 0 deletions
1
changelog.d/17453.misc
Normal file
1
changelog.d/17453.misc
Normal 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.
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue