mirror of
https://github.com/discourse/discourse.git
synced 2025-02-10 13:24:55 +00:00
It makes more sense to use user_ids for the UserCommScreener introduced in fa5f3e228c102d4b9f7c6dde6eb07ef1f5880bbd since in most cases the ID will be available, not the username. This was discovered while starting work on a plugin that will use this. In the cases where only usernames are available the extra query is negligble.