filter selection bug
parent
4c1a12af4c
commit
bc56031c6c
|
@ -189,10 +189,10 @@ func setFilter(chatID int64, update tgbotapi.Update, text string, regFilterMatch
|
|||
|
||||
for _, v := range filterValues {
|
||||
switch v {
|
||||
case utils.NotificationTypeSuccess,
|
||||
utils.NotificationTypeInfoString,
|
||||
utils.NotificationTypeWarningString,
|
||||
utils.NotificationTypeErrorString:
|
||||
case utils.NotificationTypeSuccess:
|
||||
case utils.NotificationTypeInfoString:
|
||||
case utils.NotificationTypeWarningString:
|
||||
case utils.NotificationTypeErrorString:
|
||||
continue
|
||||
default:
|
||||
logger.AddSystemLog(rslogger.LogTypeWarning, "Received unknown filter value: %s from user: %s %s", v, update.Message.From.FirstName, update.Message.From.LastName)
|
||||
|
|
Loading…
Reference in New Issue