mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
DEV: Added wrapper to signal that NewPostManager#add_plugin_payload_attribute is part of the public API
This commit is contained in:
@ -402,7 +402,7 @@ after_initialize do
|
||||
true
|
||||
end
|
||||
|
||||
NewPostManager.add_plugin_payload_attribute("is_poll")
|
||||
allow_new_queued_post_payload_attribute("is_poll")
|
||||
|
||||
NewPostManager.add_handler(1) do |manager|
|
||||
post = Post.new(raw: manager.args[:raw])
|
||||
|
Reference in New Issue
Block a user