fix(bluebubbles): drop unused with=participants from chat query

`_resolve_chat_guid` no longer consults the participants list — it
matches strictly on `chatIdentifier`/`identifier`. The
`with: ["participants"]` request parameter is now wasted bandwidth on
every chat list query and serves no purpose. Drop it so the BlueBubbles
server can skip the participant join on each call.

No behavioral change; pure payload trim.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
briandevans 2026-05-12 01:08:31 -07:00 committed by Teknium
parent c279706d33
commit 852c9b3cb2

View file

@ -455,7 +455,7 @@ class BlueBubblesAdapter(BasePlatformAdapter):
try:
payload = await self._api_post(
"/api/v1/chat/query",
{"limit": 100, "offset": 0, "with": ["participants"]},
{"limit": 100, "offset": 0},
)
for chat in payload.get("data", []) or []:
guid = chat.get("guid") or chat.get("chatGuid")