From 852c9b3cb2ce2f00a2403434a84fdbd7ebf95fda Mon Sep 17 00:00:00 2001 From: briandevans <252620095+briandevans@users.noreply.github.com> Date: Tue, 12 May 2026 01:08:31 -0700 Subject: [PATCH] fix(bluebubbles): drop unused with=participants from chat query MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `_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) --- gateway/platforms/bluebubbles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gateway/platforms/bluebubbles.py b/gateway/platforms/bluebubbles.py index c3aae523e..a95dd47dc 100644 --- a/gateway/platforms/bluebubbles.py +++ b/gateway/platforms/bluebubbles.py @@ -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")