mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 06:29:30 +08:00
FIX: Couldn't disagree with "notify moderator" flags
This commit is contained in:
parent
6b344e8a20
commit
00bc79439a
|
@ -164,7 +164,7 @@ SQL
|
||||||
if moderator.id == Discourse::SYSTEM_USER_ID
|
if moderator.id == Discourse::SYSTEM_USER_ID
|
||||||
PostActionType.auto_action_flag_types.values
|
PostActionType.auto_action_flag_types.values
|
||||||
else
|
else
|
||||||
PostActionType.flag_types_without_custom.values
|
PostActionType.notify_flag_type_ids
|
||||||
end
|
end
|
||||||
|
|
||||||
actions = PostAction.where(post_id: post.id)
|
actions = PostAction.where(post_id: post.id)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user