mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
FIX: auto-message shouldn't generate notifications
This commit is contained in:
@ -488,6 +488,7 @@ class Topic < ActiveRecord::Base
|
||||
raw: text,
|
||||
post_type: Post.types[:moderator_action],
|
||||
no_bump: opts[:bump].blank?,
|
||||
skip_notifications: opts[:skip_notifications],
|
||||
topic_id: self.id)
|
||||
new_post = creator.create
|
||||
increment!(:moderator_posts_count)
|
||||
|
Reference in New Issue
Block a user