Skip to content

Expose chat service for local accounts - #2

Merged
BRO3886 merged 1 commit into
mainfrom
codex/add-local-account-service
Sep 3, 2026
Merged

BRO3886 merged 1 commit into
mainfrom
codex/add-local-account-service

Conversation

@BRO3886

@BRO3886 BRO3886 commented Sep 3, 2026

Copy link
Copy Markdown
Member

Summary

Expose chat.service_name on IMsgCore.LocalAccount while keeping chat.account_id opaque.

Group local-account rows by login, account ID, and service so callers can distinguish iMessage and SMS routes without parsing undocumented account identifiers. The new initializer argument defaults to an empty string to preserve existing source compatibility.

Verification

  • Regression test before implementation: failed to compile because LocalAccount had no service member.
  • swift test --filter localAccountsPreservesOpaqueAccountIDAndReportsChatService: passed.
  • make lint: passed with 16 pre-existing warnings and no serious violations.
  • make test: passed 690 tests.
  • make build: passed and produced universal imsg and bridge-helper binaries.
  • Live account --local read: returned two accounts; output was reduced to the count to avoid exposing private identifiers.

@BRO3886
BRO3886 merged commit 6ff96fb into main Sep 3, 2026
3 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