slack-irc icon indicating copy to clipboard operation
slack-irc copied to clipboard

Fix username sent to IRC : prefer display_name over user.name

Open mmarchand opened this issue 7 years ago • 4 comments

Try to use display_name (often set to the user's nick) over user.name when it is set

mmarchand avatar Sep 16 '17 10:09 mmarchand

The fact that display names can be changed as often as you want, and that they're not unique, makes me slightly nervous. You could change your display name to someone else's username, post a message, and change back.

Or am I missing something here?

ekmartin avatar Sep 17 '17 18:09 ekmartin

just like on IRC actually ? ;)

I have had about 100 users that expected to see their display names rather than the username (they are migrating from IRC to a public slack channel) and they could not change their username back to their IRC nickname after creating their account

mmarchand avatar Sep 18 '17 19:09 mmarchand

I think you may need to augment test/stubs/data-store-stub.js a bit to get the checks to pass.

xrchz avatar Oct 06 '17 13:10 xrchz

I seem to be having some similar issues. A Slack user's real name is displayed on IRC when it should be their display name, and if there is a word/string said in IRC that matches something within their registration email (which is hidden from public) it changes that word on slack to their user name.

Stoner19 avatar Nov 08 '17 14:11 Stoner19