This commit is contained in:
shoopea 2019-07-09 15:13:17 +08:00
parent 35f6359d1f
commit d71c8b32b8

View File

@ -400,12 +400,12 @@ func SQLIdentifyMsgWorker(id int, objIds <-chan int64) {
cwm, err := parseSubTypeMessageGoQuestAck(m, r)
logOnError(err, "SQLIdentifyMsgWorker["+strconv.Itoa(id)+"] : Parsing objSubTypeMessageMeAck.")
cwm.Msg = m
uid, err := clientGetUserID64(cwm.UserID64)
uid, err := clientGetUserID64(m.UserID64)
if err != nil {
err = setObjSubTypeId(objId, objSubTypeMessageUnknown)
} else {
clientMsgGoQuestAck(cwm)
_, err = addObjQuest(cwm.UserID64, cwm.QuestTypeID, cwm.Duration, m.Date.UTC())
_, err = addObjQuest(uid, cwm.QuestTypeID, cwm.Duration, m.Date.UTC())
}
case objSubTypeMessageDuelFight:
cwm, err := parseSubTypeMessageDuelFight(m, r)