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
|
@ -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.
|
# The event types that clients should consider as new activity.
|
||||||
DEFAULT_BUMP_EVENT_TYPES = {
|
DEFAULT_BUMP_EVENT_TYPES = {
|
||||||
|
EventTypes.Create,
|
||||||
EventTypes.Message,
|
EventTypes.Message,
|
||||||
EventTypes.Encrypted,
|
EventTypes.Encrypted,
|
||||||
EventTypes.Sticker,
|
EventTypes.Sticker,
|
||||||
|
|
Loading…
Reference in New Issue