Skip to content

feat(messages): switch send and getGroup to fast intake endpoints - #192

Merged
dino362 merged 2 commits into
masterfrom
feat/fast-intake
Nov 5, 2026
Merged

dino362 merged 2 commits into
masterfrom
feat/fast-intake

Conversation

@dino362

@dino362 dino362 commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Groups accepted through the fast intake omit the deprecated
friend-talk (cta/cti) keys in countForCharge and app.profit, which
made getGroup fail schema decoding. Decode them as empty map / 0 so
the existing response contract is preserved.
- send() now posts to /messages/v4/send-many/fast and fills the
  cta/cti and isRefunded fields the fast response omits, keeping the
  send-many/detail response shape.
- getGroup() reads /messages/v4/groups/fast/:groupId, which returns a
  group immediately after acceptance and serves regular groups in the
  same format.
- Groups become visible to getGroupMessages/getMessages and
  removeReservationToGroup about 0.3s after acceptance; the e2e test
  retries the scheduled cancel accordingly.
- CTA/CTI messages are converted to BMS_FREE server-side.
@dino362
dino362 requested a review from lumi-dev2 November 5, 2026 06:01
@dino362
dino362 merged commit c17cf79 into master Nov 5, 2026
6 checks passed
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.

2 participants