ekmartin / slack-irc

Connects Slack and IRC channels by sending messages back and forth.
MIT License
588 stars 157 forks source link

Avoid name-pinging people in IRC with the same username #88

Closed laughinghan closed 8 years ago

laughinghan commented 8 years ago

Say laughinghan is in both Slack and IRC, it'd be nice to, when broadcasting from Slack to IRC, send a message of the form

<l aughinghan> message

(note the space after the first letter) to avoid name-pinging in IRC

Maybe I'm the only one with this problem since I'm in both

ekmartin commented 8 years ago

I've noticed the problem myself, but I'm not sure if this would be the way to go. Wouldn't it be simpler to just turn of highlighting for that specific IRC channel?

laughinghan commented 8 years ago

Oh you have? I've set my IRC client to ignore namepings by just the <MathQuill_Slack> nick (in Textual it's /ignore; apparently it's a common feature in IRC clients), which actually is what I want even for namepings in the body of the message because it's already pinging me in Slack which is my preferred channel anyway

But a built-in solution would be nice. Could we insert an invisible unicode character in the middle of the nickname? How is IRC's Unicode story?

ekmartin commented 8 years ago

I'm not completely sure, but I think it might be a bit hard to get right across everything from terminal clients like Irssi to stuff like IRCCloud. Could be worth testing though.

ekmartin commented 8 years ago

Closing this for now, might be worth investigating in the future - but I don't think it's necessary at the moment.