mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Link post to uploads in PostCreator.
* This ensures that uploads are linked to their post on creation instead of a background job which may be delayed if Sidekiq is facing difficulties.
This commit is contained in:
@@ -38,7 +38,9 @@ class PostJobsEnqueuer
|
||||
end
|
||||
|
||||
def trigger_post_post_process
|
||||
@post.trigger_post_process
|
||||
@post.trigger_post_process(
|
||||
skip_link_post_uploads: @opts[:skip_link_post_uploads]
|
||||
)
|
||||
end
|
||||
|
||||
def after_post_create
|
||||
|
||||
Reference in New Issue
Block a user