fix url in shop job
This commit is contained in:
parent
1cea32789d
commit
c232fcd48c
4
job.go
4
job.go
@ -2220,7 +2220,7 @@ func jobShops(j Job) {
|
|||||||
}
|
}
|
||||||
c := getObjCastle(cwm.CastleID64)
|
c := getObjCastle(cwm.CastleID64)
|
||||||
out = fmt.Sprintf("%s%s", out, c.Logo)
|
out = fmt.Sprintf("%s%s", out, c.Logo)
|
||||||
out = fmt.Sprintf("%s<a href=\"https://t.me/share/url?url=\\/ws_%s\">%s</a>", out, cwm.Link, cwm.User)
|
out = fmt.Sprintf("%s<a href=\"https://t.me/share/url?url=/ws_%s\">%s</a>", out, cwm.Link, cwm.User)
|
||||||
out = fmt.Sprintf("%s [%d/%d]\n", out, cwm.Mana, cwm.ManaTotal)
|
out = fmt.Sprintf("%s [%d/%d]\n", out, cwm.Mana, cwm.ManaTotal)
|
||||||
}
|
}
|
||||||
clientDelTGMsg(m.TGUserID64, m.ID64, m.ChatID64)
|
clientDelTGMsg(m.TGUserID64, m.ID64, m.ChatID64)
|
||||||
@ -2301,7 +2301,7 @@ func jobShopsSlave(j Job) {
|
|||||||
rescheduleJob(j.ID64, 0, time.Unix(maxUnixTimestamp, 0).UTC()) // reschedule so that it gets picked up by shop main ack callback
|
rescheduleJob(j.ID64, 0, time.Unix(maxUnixTimestamp, 0).UTC()) // reschedule so that it gets picked up by shop main ack callback
|
||||||
setJobCallback(j.ID64, j.UserID64, cacheObjSubType[`msg_shop_main_req`])
|
setJobCallback(j.ID64, j.UserID64, cacheObjSubType[`msg_shop_main_req`])
|
||||||
setJobCallback(j.ID64, j.UserID64, cacheObjSubType[`msg_shop_main_ack`])
|
setJobCallback(j.ID64, j.UserID64, cacheObjSubType[`msg_shop_main_ack`])
|
||||||
clientSendCWMsgDelay(j.UserID64, fmt.Sprintf("/ws_%s", p.Shops[0]), 4)
|
clientSendCWMsgDelay(j.UserID64, fmt.Sprintf("/ws_%s", p.Shops[0]), 6)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user