Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions requests.go
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,8 @@ type ReqSetReadMarkers struct {
Read id.EventID `json:"m.read,omitempty"`
ReadPrivate id.EventID `json:"m.read.private,omitempty"`
FullyRead id.EventID `json:"m.fully_read,omitempty"`
// Allow moving m.fully_read backwards via MSC4446.
AllowBackward bool `json:"com.beeper.allow_backward,omitempty"`

BeeperReadExtra interface{} `json:"com.beeper.read.extra,omitempty"`
BeeperReadPrivateExtra interface{} `json:"com.beeper.read.private.extra,omitempty"`
Expand All @@ -444,6 +446,8 @@ type ReqSetBeeperInboxState struct {

type ReqSendReceipt struct {
ThreadID string `json:"thread_id,omitempty"`
// Allow moving m.fully_read backwards via MSC4446.
AllowBackward bool `json:"com.beeper.allow_backward,omitempty"`
}

type ReqPublicRooms struct {
Expand Down
1 change: 1 addition & 0 deletions versions.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ var (
FeatureRedactSendAsEvent = UnstableFeature{UnstableFlag: "com.beeper.msc4169"}
FeatureUnstableReplaceProfile = UnstableFeature{UnstableFlag: "com.beeper.msc4437"}
FeatureStableReplaceProfile = UnstableFeature{UnstableFlag: "com.beeper.msc4437.stable"}
FeatureFullyReadBackward = UnstableFeature{UnstableFlag: "com.beeper.msc4446"}

BeeperFeatureHungry = UnstableFeature{UnstableFlag: "com.beeper.hungry"}
BeeperFeatureBatchSending = UnstableFeature{UnstableFlag: "com.beeper.batch_sending"}
Expand Down
Loading