mirror of
https://github.com/discourse/discourse.git
synced 2025-02-13 06:45:11 +00:00
The user option 'hide_profile_and_presence' is necessary to figure out if the user status has to be displayed or not. In order to avoid N+1s generated by `include_status?` method, both `user_status` and `user_option` relations have to be included.