Matrix mentions don't map to Discord mentions when internally URL escaped #22
Labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: cadence/out-of-your-element#22
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When a Matrix mention is internally URL-encoded, OOYE fails to forward the ping to the original account.
Examples:
Note, potentially identifiable info was replaced or redacted for the sake of privacy; it should still give a gist of what is going wrong.
Non-working example:
Within the
formatted_bodyfield of the Matrix message,<a href="<https://matrix.to/#/%40_ooye_ampflower%3Aexample.com>">Ampflower</a>fails to map to the corresponding Discord user, which in turn leads makes OOYE transform it into a link; like:[Ampflower](https://matrix.to/#/%40_ooye_ampflower%3Aexample.com)Sample:
Working example:
Within the
formatted_bodyfield of the Matrix message,<a href=\"https://matrix.to/#/@_ooye_ampflower:example.com\">maps to the Discord user, which means it mentions fine.Sample
Thanks for the report! Fixed in
83070dcf7e.