exclude active data from lists #99

Merged
Alfred-mk merged 10 commits from exclude-active-data-from-lists into master 2025-07-22 11:53:03 +02:00
Showing only changes of commit 4ce9baa379 - Show all commits

View File

@ -204,6 +204,10 @@ func (h *MenuHandlers) ViewVoucher(ctx context.Context, sym string, input []byte
flag_incorrect_voucher, _ := h.flagManager.GetFlag("flag_incorrect_voucher")
inputStr := string(input)
if inputStr == "0" || inputStr == "99" || inputStr == "88" || inputStr == "98" {
res.FlagReset = append(res.FlagReset, flag_incorrect_voucher)
return res, nil
}
metadata, err := store.GetVoucherData(ctx, h.userdataStore, sessionId, inputStr)
if err != nil {