Skip to content

fix(qoder): stop derived machine headers from hiding daily check-in - #487

Merged
caigee-cmd merged 2 commits into
mainfrom
fix/qoder-checkin-campaign-headers
Nov 11, 2026
Merged

caigee-cmd merged 2 commits into
mainfrom
fix/qoder-checkin-campaign-headers

Conversation

@caigee-cmd

Copy link
Copy Markdown
Owner

Summary

  • Qoder campaign requests no longer send the derived Cosy-Machine* set, Origin, or Referer. Upstream treats a full derived set as a non-official client and drops the daily credit campaign from an otherwise successful list, which is why check-in succeeded once and then reported no campaign (Qoder 国内版签到:每个账号登录后仅能签到一次,之后手动/自动签到均无效(PAT 与浏览器登录,v0.7.0 仍复现) #323).
  • An empty or non-claimable campaign list is retried (0.8s, then 2s). The endpoint intermittently omits the daily campaign, and one empty snapshot used to end the day.
  • SAME_PERSON_ALREADY_CLAIMED (person-level dedupe, including when the official client already collected) is recorded as already checked in today instead of a failure.

Chat fingerprints are unchanged (Cosy-Version stays 1.1.75). The desktop campaign version stays 0.4.8. Native runtime-info identity is not added; without it the Global daily credit may still be absent, but the gateway no longer hides it.

Test plan

  • go test ./internal/providers/qoder/ -count=1 -run 'Checkin|Campaign'
  • Check in a CN account that previously reported no campaign after the first claim
  • Confirm a same-person already-claimed response shows as already checked in, not an error

Campaign requests sent a full derived cosy-machine set, which upstream
filters as a non-official client, so the daily credit campaign vanished
after the first claim. Send only the desktop identity headers, retry an
empty campaign list, and treat SAME_PERSON_ALREADY_CLAIMED as already
checked in.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant