Skip to content

msgconv: mark forwarded messages with com.beeper.forwarded - #1003

Draft
Fizzadar wants to merge 1 commit into
mainfrom
fizzadar/structured-forwarded
Draft

Fizzadar wants to merge 1 commit into
mainfrom
fizzadar/structured-forwarded

Conversation

@Fizzadar

Copy link
Copy Markdown
Member

Forwarded messages currently get ↷ Forwarded written into the body/HTML by the connector. Clients see that as a caption, so forwarded photos render as captioned images and forwarded albums don't group into a gallery.

This sets com.beeper.forwarded on the converted part instead and leaves body/formatted_body as the original content. The bridgev2/matrix connector adds the same ↷ Forwarded fallback at send time with has_fallback set, so Element and other clients see what they see today.

Depends on mautrix/go#649; go.mod points at that branch until it's merged.

View in Indent
Tag @indent to continue the conversation here.

Set the structured forwarded field instead of writing the notice into
the body. The bridgev2 Matrix connector still adds the same "↷ Forwarded"
fallback at send time, so existing clients see no change, while clients
that understand the field get the original caption.
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.

1 participant