-
Notifications
You must be signed in to change notification settings - Fork 122
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
Allow the user to set highlight without %nick% #103
base: master
Are you sure you want to change the base?
Conversation
removed push_back("%nick%"), so the user can set his own highlight without having %nick% in it
This issue affects me as well, thanks for the patch & I might build your version even if the pull request doesn't get accepted 👍 |
I agree with the goal, but my biggest concern is how to handle existing users. There's currently no mechanism that would allow new users to get the new default, while also allowing existing users to have the old behavior. I will consider the best way to implement this with 2.0. |
even with not having %nick% the default it's still not an optimal solution. You need to check for things like "dan:", "hi dan" and "dan", but not "dann", "danach" or "qwopejdanqiwe". |
Good point. |
Maybe do it the same way popular clients do it? |
also +1 |
update from upstream
Would setting |
My understanding is that |
Can you update the readme to document the |
Yeah, just realized this pull request includes parts that were already merged elsewhere. Which commits still need to be reviewed/merged? Just the first %nick% change? |
@jreese IIRC this removes the part that auto-adds |
@omnidan Can you clean up this PR branch so only the relevant commit(s) will be merged? I'd be happy to do it myself, but 1) this PR is so old it predates the GitHub feature allowing maintainers to edit the source branch, and 2) even if that option was enabled, I don't really want to mess with someone else's |
My nick is
dan
on some networks - including german networks.dann
is a common word in german so I get push notifications A LOT because %nick% highlights on*dan*
.I made
%nick%
the default highlight value and now the user can change it without having %nick% part of the value. This means I can do_%nick% _%nick%:
or something like that. IMO this is a nicer way of handling this anyway - what else are default values for?