mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 13:06:40 +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 ```