User directory not prioritize the full name if same as username

If the username is very similar to the name, then only the username was displayed. That was implemented on purpose, but did not follow all the other places where we show a username or name. I removed the extra logic in this PR:

https://github.com/discourse/discourse/pull/16686

7 Likes