Add replies to posts
This commit is contained in:
@@ -7,10 +7,10 @@ module Micropub
|
||||
class SendWebmentions
|
||||
include Deps["settings", "post_utilities.link_finder"]
|
||||
|
||||
def call(post_content:, post_url:)
|
||||
def call(post_content:, post_url:, in_reply_to:)
|
||||
Que.connection = Adamantium::Container["persistence.db"]
|
||||
|
||||
Adamantium::Jobs::SendWebMentions.enqueue(post_content: post_content, post_url: post_url)
|
||||
Adamantium::Jobs::SendWebMentions.enqueue(post_content: post_content, post_url: post_url, in_reply_to: in_reply_to)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user