client: stabilize support for state_after
Some checks are pending
Go / Lint (latest) (push) Waiting to run
Go / Build (old, libolm) (push) Waiting to run
Go / Build (latest, libolm) (push) Waiting to run
Go / Build (old, goolm) (push) Waiting to run
Go / Build (latest, goolm) (push) Waiting to run

This commit is contained in:
Tulir Asokan 2025-09-13 13:44:46 +03:00
commit b5bec2e96c
2 changed files with 2 additions and 2 deletions

View file

@ -754,7 +754,7 @@ func (req *ReqSync) BuildQuery() map[string]string {
query["full_state"] = "true"
}
if req.UseStateAfter {
query["org.matrix.msc4222.use_state_after"] = "true"
query["use_state_after"] = "true"
}
if req.BeeperStreaming {
query["com.beeper.streaming"] = "true"

View file

@ -397,7 +397,7 @@ type BeeperInboxPreviewEvent struct {
type SyncJoinedRoom struct {
Summary LazyLoadSummary `json:"summary"`
State SyncEventsList `json:"state"`
StateAfter *SyncEventsList `json:"org.matrix.msc4222.state_after,omitempty"`
StateAfter *SyncEventsList `json:"state_after,omitempty"`
Timeline SyncTimeline `json:"timeline"`
Ephemeral SyncEventsList `json:"ephemeral"`
AccountData SyncEventsList `json:"account_data"`