FIX: Store custom attributes that are needed by plugins in queuedpost payload (#8009)

This commit is contained in:
Roman Rizzi
2019-08-14 15:02:59 -03:00
committed by GitHub
parent a5542768ea
commit 79957706b1
3 changed files with 35 additions and 2 deletions

View File

@ -402,6 +402,8 @@ after_initialize do
true
end
NewPostManager.add_plugin_payload_attribute("is_poll")
NewPostManager.add_handler(1) do |manager|
post = Post.new(raw: manager.args[:raw])