Skip to content

Conversation

Throne3d
Copy link
Collaborator

@Throne3d Throne3d commented Aug 8, 2019

Supersedes #243. Original credit to @qaisjp, test added, README amended to state it's off by default. Single-character nicks get a random zero-width character appended, but it's not like that affects anything so meh.

Off by default, because some IRC clients were having trouble with it before. It's up to bot owners to make sure this doesn't break any functionality for their users (like maybe for languages where zero-width characters will mess up the language's script? on IRC servers supporting those characters in nicknames).

Fixes #197.

qaisjp and others added 3 commits August 8, 2019 11:43
(This adds a zero-width character to nicknames to prevent IRC-side pings.)

Original commits:

- Add ircPreventMention code

- Document ircPreventMention

- Make ircNickColor wrap the displayUsername

- Fix build errors

- Default ircPreventMention to false
Only tests turning it on; extant tests ensure it's off by default.
@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 97.207% when pulling 2290371 on Throne3d:add/irc-prevent-mention into 70e8849 on reactiflux:master.

@Throne3d Throne3d merged commit d528aed into reactiflux:master Aug 8, 2019
@Throne3d Throne3d deleted the add/irc-prevent-mention branch August 8, 2019 15:06
@qaisjp
Copy link

qaisjp commented Aug 8, 2019

Cheers (although I don't use this project anymore!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Avoid self-message highlighting on IRC
3 participants