update vault status
This commit is contained in:
parent
e66858b6fe
commit
4710564346
3
bot.go
3
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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user