diff --git a/bot.go b/bot.go index 6eb2828..4d56182 100644 --- a/bot.go +++ b/bot.go @@ -721,7 +721,7 @@ func botVault(m *tb.Message, itemTypeList []int64) { } } */ - if !m.Private() { + if !(m.Private() || m.Chat.ID == cfg.Bot.Mainchat) { return } @@ -736,7 +736,6 @@ func botVault(m *tb.Message, itemTypeList []int64) { p.ItemTypeListID64 = append(p.ItemTypeListID64, itemTypeList...) b, _ := json.Marshal(p) - log.Printf("botVault:\n%s\n", string(b)) t := time.Now().UTC() _, err := createJob(objSubTypeJobVaultStatus, objJobPriority, int64(m.Sender.ID), 0, t, b)