update idle
This commit is contained in:
parent
aef2e3973e
commit
5817d2f814
@ -429,6 +429,10 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) {
|
||||
clientMsgMeAck(cwm)
|
||||
_, err = addObjXP(cwm.CWUserID64, cwm.ExpNow, cwm.ExpLvl, cwm.Level, m.Date)
|
||||
logOnError(err, "SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : addObjXP(MeAck)")
|
||||
if cwm.State == `🛌Rest` {
|
||||
err = setClientIdle(m.TGUserID64, cwm.Msg.Date.UTC())
|
||||
logOnError(err, "SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : setClientIdle")
|
||||
}
|
||||
case objSubTypeMessageGoQuestAck:
|
||||
cwm, err := parseSubTypeMessageGoQuestAck(m, rule.re)
|
||||
logOnError(err, "SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : Parsing objSubTypeMessageGoQuestAck.")
|
||||
|
Loading…
Reference in New Issue
Block a user