Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
register show_quick_messaages
Browse files Browse the repository at this point in the history
  • Loading branch information
angusmcleod committed Sep 5, 2018
1 parent 31244c6 commit 945a5e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
DiscoursePluginRegistry.serialized_current_user_fields << "show_quick_messages"
User.register_custom_field_type("show_quick_messages", :boolean)
add_to_serializer(:current_user, :show_quick_messages) { object.show_quick_messages }
register_editable_user_custom_field :show_quick_messages if defined? register_editable_user_custom_field

SiteSetting.class_eval do
def self.min_private_message_post_length
Expand Down

0 comments on commit 945a5e6

Please sign in to comment.