From c232fcd48c79beb870dcb7dbf354dda89778c318 Mon Sep 17 00:00:00 2001 From: shoopea Date: Fri, 7 Feb 2020 12:03:08 +0800 Subject: [PATCH] fix url in shop job --- job.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/job.go b/job.go index 52a2610..1cd0d98 100644 --- a/job.go +++ b/job.go @@ -2220,7 +2220,7 @@ func jobShops(j Job) { } c := getObjCastle(cwm.CastleID64) out = fmt.Sprintf("%s%s", out, c.Logo) - out = fmt.Sprintf("%s%s", out, cwm.Link, cwm.User) + out = fmt.Sprintf("%s%s", out, cwm.Link, cwm.User) out = fmt.Sprintf("%s [%d/%d]\n", out, cwm.Mana, cwm.ManaTotal) } 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 setJobCallback(j.ID64, j.UserID64, cacheObjSubType[`msg_shop_main_req`]) 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 }