fix: sync StarGift lifecycle hardening
This commit is contained in:
parent
bfdfe825f6
commit
d69a34a4a8
30 changed files with 1883 additions and 132 deletions
|
|
@ -879,6 +879,9 @@ const (
|
|||
MaxStarGiftCollectionTitleRunes = 12
|
||||
MaxStarGiftCollectionsPerPeer = 100
|
||||
MaxStarGiftCollectionItems = 1000
|
||||
// MaxPinnedStarGifts matches stargifts_pinned_to_top_limit advertised to
|
||||
// official clients. Pin requests are complete replacement vectors.
|
||||
MaxPinnedStarGifts = 6
|
||||
)
|
||||
|
||||
// Star gift 哨兵错误(rpc 层 errors.Is 映射为 tgerr)。
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue