mirror of
https://github.com/discourse/discourse.git
synced 2025-03-29 02:45:36 +08:00

Plugins can now register this modifier: ```ruby register_modifier(:chat_can_create_direct_message_channel) do |user, target_users| # your logic which should return true or false end ```