mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 14:23:39 +08:00
2a37be701f
The issue: When the current user disables chat from within user preferences, the chat button still appears when clicking another user’s profile picture to open the user card. This is also the case when the current user has chat enabled but the target user has disabled chat. After this change: - when a user disables chat in preferences, the chat button should not be displayed when opening a user card or visiting profiles of other users. - when chat is enabled in preferences but another user disables chat, the chat button should not appear on their user card or profile |
||
---|---|---|
.. | ||
components/chat | ||
fabricators | ||
integration | ||
jobs | ||
lib | ||
mailers | ||
models | ||
policies/chat/channel | ||
queries/chat | ||
requests | ||
serializer | ||
services | ||
support | ||
system | ||
validators | ||
plugin_helper.rb | ||
plugin_spec.rb |