fix(bluebubbles): dedup webhook replays and skip spam-filtered chats - #86112
fix(bluebubbles): dedup webhook replays and skip spam-filtered chats#86112noelly wants to merge 1 commit into
Conversation
Two fixes for the BlueBubbles adapter: 1. Inbound message dedup: BlueBubbles webhooks can replay after a reconnect, which caused duplicate inbound message processing. Track seen message ids for 48h (capped at 4k), matching Photon's dedup parameters. 2. Skip isFiltered chats when resolving chat GUIDs: iMessage stores masked handles (e.g. 'any;-;+156****2244' with literal asterisks) for auto-spam-reported threads, and sends to those GUIDs fail with 500 from the BlueBubbles server. The real DM for the same number is a separate, non-filtered chat. Verified Aug 5 2026: ROWID 877 filtered/asterisks vs ROWID 850 real.
fix(bluebubbles): dedup webhook replays and skip spam-filtered chats
|
Summary
Two fixes to the BlueBubbles adapter in
gateway/platforms/bluebubbles.py:any;-;+156****2244with literal asterisks). Sending to those GUIDs fails with HTTP 500 from the BlueBubbles server, and the real DM for the same number is a separate, non-filtered chat. This skipsisFilteredchats when resolvingchatIdentifier → chatGuid.User-visible behavior
Test Plan
Notes for Reviewers