diff --git a/README.md b/README.md index 4ccbd63..959384e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,7 @@ ChirpNestBot -- [ ] Test HTML in message -- [ ] Update auction from broadcast +- [x] Test HTML in message +- [x] Update auction from broadcast +- [ ] Make sure refresh message receives the message later (jobMsgRefresh) - [ ] Update old auctions with client - [ ] Convert config to json - [ ] Eliminate cache map race conditions (all maps with read/write) and use redis ? diff --git a/job.go b/job.go index db927ca..4b0475d 100644 --- a/job.go +++ b/job.go @@ -361,6 +361,8 @@ func jobPillage(j Job) { func jobMsgRefresh(j Job) { var p JobPayloadMsgRefresh + + // identify whether the message has been properly refreshed ? create new job ? reschedule same job ? err := setJobStart(j.ID64) logOnError(err, "jobMsgRefresh : setJobStart")