fix(channels): sync stop replaying clear-history updates

This commit is contained in:
iamxvbaba 2026-07-29 16:19:04 +08:00
parent 73cf6a8184
commit 5e1f867b2d
4 changed files with 22 additions and 51 deletions

View file

@ -1335,17 +1335,13 @@ type ChannelDifference struct {
Events []ChannelUpdateEvent
NewMessages []ChannelMessage
OtherUpdates []ChannelUpdateEvent
// AvailableMinID is an owner-local, absolute no-PTS boundary appended to a
// normal channel difference. It must never be represented as a synthetic
// ChannelUpdateEvent because updateChannelAvailableMessages has no pts.
AvailableMinID int
Users []User
Channels []Channel
Pts int
Final bool
TooLong bool
Dialog ChannelDialog
Timeout int
Users []User
Channels []Channel
Pts int
Final bool
TooLong bool
Dialog ChannelDialog
Timeout int
}
// DirtyChannel identifies an active channel with shared channel updates and/or