mirror of
https://mau.dev/mautrix/go.git
synced 2026-03-14 14:25:53 +01:00
client: stabilize support for state_after
This commit is contained in:
parent
717c8c3092
commit
b5bec2e96c
2 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue