filter selection bug

main
alex 2023-10-21 18:55:24 +02:00
parent 4c1a12af4c
commit bc56031c6c
1 changed files with 4 additions and 4 deletions

View File

@ -189,10 +189,10 @@ func setFilter(chatID int64, update tgbotapi.Update, text string, regFilterMatch
for _, v := range filterValues { for _, v := range filterValues {
switch v { switch v {
case utils.NotificationTypeSuccess, case utils.NotificationTypeSuccess:
utils.NotificationTypeInfoString, case utils.NotificationTypeInfoString:
utils.NotificationTypeWarningString, case utils.NotificationTypeWarningString:
utils.NotificationTypeErrorString: case utils.NotificationTypeErrorString:
continue continue
default: default:
logger.AddSystemLog(rslogger.LogTypeWarning, "Received unknown filter value: %s from user: %s %s", v, update.Message.From.FirstName, update.Message.From.LastName) logger.AddSystemLog(rslogger.LogTypeWarning, "Received unknown filter value: %s from user: %s %s", v, update.Message.From.FirstName, update.Message.From.LastName)