Skip to content

fix: error code 100 (exceed max member) - #239

Merged
highesttt merged 1 commit into
mainfrom
highest/plat-38687
Sep 1, 2026
Merged

fix: error code 100 (exceed max member)#239
highesttt merged 1 commit into
mainfrom
highest/plat-38687

Conversation

@highesttt

Copy link
Copy Markdown
Collaborator

No description provided.

@linear-code

linear-code Bot commented Sep 1, 2026

Copy link
Copy Markdown

PLAT-38687

@indent

indent Bot commented Sep 1, 2026

Copy link
Copy Markdown
PR Summary

Handles LINE TalkException code:100 "exceed max member" so that sends to groups too large for E2EE key registration fall back to plaintext (matching LINE's own behavior) instead of surfacing a hard error.

  • IsNoUsableE2EEGroupKey (raw-error-string path): adds a code-100 branch gated on an exact "reason":"exceed max member" match, and switches the envelope guard from a literal "code":10051 check to the shared hasResponseErrorCode helper.
  • isNoUsableE2EEGroupKeyTalkException (structured path): adds code == 100 && reason == "exceed max member".
  • Adds tests covering the positive case, a code-100 with a different reason, the phrase appearing outside the reason field, and the structured path, plus a lineGroupE2EEFetchFailureError test asserting the oversized-group error allows plaintext fallback.

Issues

No issues found.

CI Checks

All CI checks passed on f6cde3d.

@highesttt
highesttt merged commit 39f9ba9 into main Sep 1, 2026
9 checks passed
@highesttt
highesttt deleted the highest/plat-38687 branch September 1, 2026 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant