Skip to content

Commit

Permalink
feat(client-api): Simplified MSC3575 has m.room.create as a default…
Browse files Browse the repository at this point in the history
… `bump_event_types`.

This patch adds `m.room.create` to `bump_event_types` when converting a
`v5::request::List` to a `SyncRequestList`.

See element-hq/synapse#17453
  • Loading branch information
Hywan authored and toger5 committed Jul 25, 2024
1 parent a760e0b commit 805a11b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/ruma-client-api/src/sync/sync_events/v4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -963,6 +963,7 @@ impl From<v5::request::List> for SyncRequestList {
bump_event_types: vec![
TimelineEventType::RoomMessage,
TimelineEventType::RoomEncrypted,
TimelineEventType::RoomCreate,
TimelineEventType::Sticker,
],

Expand Down

0 comments on commit 805a11b

Please sign in to comment.