Skip to content

fix(replies): update xcancel embed suppression#517

Merged
vcarl merged 1 commit intoreactiflux:mainfrom
asbedb:fix-x-embed
Apr 20, 2026
Merged

fix(replies): update xcancel embed suppression#517
vcarl merged 1 commit intoreactiflux:mainfrom
asbedb:fix-x-embed

Conversation

@asbedb
Copy link
Copy Markdown
Contributor

@asbedb asbedb commented Apr 20, 2026

Currently, when a raw x.com or twitter.com link is posted, the bot generates an xcancel.com alternative. However, xcancel embeds have become increasingly unreliable, often failing to render content.

As a stop-gap measure, this PR modifies the handler to:

Preserve the native X embed: We will no longer attempt to suppress the original message's embed, allowing users to view content "at a glance" via the official preview.

Suppress the xcancel embed: The fallback link will now be wrapped in angle brackets (). This provides a clickable alternative for members without X accounts without creating a broken or redundant second embed.

feature code is commented to help future contributors revert or make changes accordingly.

@vcarl vcarl merged commit 2713578 into reactiflux:main Apr 20, 2026
2 checks passed
@asbedb asbedb deleted the fix-x-embed branch April 20, 2026 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants