fix!: move `MuteFor24Hr` to the end of the enum (#5813)

This commit is contained in:
Igor Sirotin 2024-09-10 11:25:40 +01:00 committed by GitHub
parent e3dd2b2377
commit fb150f3d16
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -60,15 +60,17 @@ const (
MuteFor1WeekDuration = 7 * 24 * time.Hour
)
// NOTE: Add items to the end of the list, because desktop and mobile
// use this enum by number rater than by string.
const (
MuteFor15Min requests.MutingVariation = iota + 1
MuteFor1Hr
MuteFor8Hr
MuteFor24Hr
MuteFor1Week
MuteTillUnmuted
MuteTill1Min
Unmuted
MuteFor24Hr
)
const pkStringLength = 68