-
-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Enhancement]: More complete message rendering #119
Comments
This is not a bug, all mentions aren't parsed yet. Obviously, this is something I'd like to change, but swiftUI makes it particularly hard with its extremely restricted AttributedString. Our contributors and I have attempted to add rendering for emotes and mentions but got nowhere. |
I could try to fix it, but I would need time to look at the code and understand on how the text is parsed. Also it might not be a good work cuz I just started learning SwiftUI xD |
But the project does have like a parser for the discord markdown, right? Isn't it possible to add another parser to that package? that also can parse pings? |
@Im-Fran nope, the md parsing is done by |
Do join the Discord server to reach me faster :) |
Enhancement
Render @mentions as the official client does.
Current Behaviour
Mentions are shown as raw text, in the form
<@user id>
Desired Behaviour
Mentions should be rendered with the user name of the mentioned user, e.g. @CryptoAlgo Team
Screenshots
Here is a ping from someone else to me, is not shown as
@Fran
but as raw text with my user idThe text was updated successfully, but these errors were encountered: