-
-
Notifications
You must be signed in to change notification settings - Fork 449
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
Fixed right-clicking mentions no longer working. #4751
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to work within my imagination of how it should, previous functionality is restored and self mentions can be used for replies.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
@@ -19,6 +19,7 @@ | |||
- Minor: Stream status requests are now batched. (#4713) | |||
- Minor: Added `/c2-theme-autoreload` command to automatically reload a custom theme. This is useful for when you're developing your own theme. (#4718) | |||
- Minor: Show channel point redemptions without messages in usercard. (#4557) | |||
- Minor: Allow for customizing the behavior of `Right Click`ing of usernames. (#4622, #4751) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
note: this changelog was accidentally dropped in 2.4.4 but was not apart of said version, and since this PR is a followup it seems correct to move it back in this PR
* fix up rightclicking mentions * changelog * Merge changelog entries other PR was merged after 2.4.4
* fix up rightclicking mentions * changelog * Merge changelog entries other PR was merged after 2.4.4
Description
Closes #4750.
Implementation caveat: this uses the mention text to check if its the person who sent the message. So if I send a message and I mention myself in it, anyone can reply to it with the mention. Seemed like a good tradeoff rather than updating all code using MessageElementFlags to see which Username is sender's name and which is mention.