mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: notifications inconsistencies + never notify system user
This commit is contained in:
parent
6137a5f00b
commit
eec1921ba9
4 changed files with 9 additions and 17 deletions
|
@ -97,7 +97,7 @@ class PostCreator
|
|||
|
||||
if @post && @post.errors.empty?
|
||||
publish
|
||||
PostAlerter.post_created(@post) unless @opts[:import_mode] || @opts[:skip_notifications]
|
||||
PostAlerter.post_created(@post) unless @opts[:import_mode]
|
||||
|
||||
track_latest_on_category
|
||||
enqueue_jobs
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue