mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 13:51:18 +08:00
FIX: auto-message shouldn't generate notifications
This commit is contained in:
@ -96,7 +96,7 @@ class PostCreator
|
||||
|
||||
if @post && @post.errors.empty?
|
||||
publish
|
||||
PostAlerter.post_created(@post) unless @opts[:import_mode]
|
||||
PostAlerter.post_created(@post) unless @opts[:import_mode] || @opts[:skip_notifications]
|
||||
|
||||
track_latest_on_category
|
||||
enqueue_jobs
|
||||
|
Reference in New Issue
Block a user