Skip to content

Add safe detailed message and chat JSON - #17

Merged
kongesque merged 3 commits into
mainfrom
feat/detailed-message-decoding
Oct 16, 2026
Merged

kongesque merged 3 commits into
mainfrom
feat/detailed-message-decoding

Conversation

@kongesque

Copy link
Copy Markdown
Owner

Message history previously exposed only text and generic attachment/unsupported statuses, so scripts could not reliably understand locations, mentions, filenames, contacts, stickers, or rich content. This adds a typed, bounded decoder and opt-in messages --details --json / chats --details --json envelopes, with optional batched sender names. Legacy JSON and watch output remain compatible; decryption failures, malformed metadata, and unsupported content are distinct.

Validation: full race suite (go test -race ./internal/... ./cmd/line ./pkg/line/... ./pkg/e2ee), goimports, go vet, staticcheck, ./build.sh, command help, and CGO-disabled Linux/Windows builds. Tests use synthetic data; no live LINE account was used.

@kongesque
kongesque merged commit 0230ed0 into main Oct 16, 2026
8 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.

1 participant