Skip to content

Conversation

joshuafhiggins
Copy link
Contributor

Resolves #183

Adds support for sending messages with rich link data, by setting a flag that BlueBubbles forwards with the private-api for iMessage to scan the text for a link to include rich link data with. When receiving a message from BB with rich link data, the payloadData field in a message's JSON is filled out, but this JSON is hard to structure and parse (coming straight from the iMessage DB). The BB app parses this on the client in Dart in order to make it usable, see payload_data.dart. Instead, I opted to use a library to fetch the OpenGraph metadata for the link sent, as how iMessage would, and fill out the struct that way. Images that BB sends as attachments are still used for the rich link.

This reverts commit ee5cf0e, reversing
changes made to 4a4b4fb.
@dltacube dltacube self-requested a review April 22, 2024 14:01
@joshuafhiggins joshuafhiggins marked this pull request as draft May 11, 2024 18:33
@kymerea
Copy link

kymerea commented Sep 25, 2025

Any chance this can be implemented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Shared links sometimes generate attachment with message

4 participants