mirror of
https://github.com/discourse/discourse.git
synced 2025-05-31 12:38:07 +08:00
FEATURE: created edit and delete flags (#27484)
Allow admins to create edit and delete flags.
This commit is contained in:

committed by
GitHub

parent
a86590ffd6
commit
c3fadc7330
@ -49,6 +49,7 @@ after_initialize do
|
||||
|
||||
register_user_custom_field_type(Chat::LAST_CHAT_CHANNEL_ID, :integer)
|
||||
DiscoursePluginRegistry.serialized_current_user_fields << Chat::LAST_CHAT_CHANNEL_ID
|
||||
DiscoursePluginRegistry.register_flag_applies_to_type("Chat::Message", self)
|
||||
|
||||
UserUpdater::OPTION_ATTR.push(:chat_enabled)
|
||||
UserUpdater::OPTION_ATTR.push(:only_chat_push_notifications)
|
||||
|
Reference in New Issue
Block a user