mirror of
https://github.com/discourse/discourse.git
synced 2025-04-11 07:30:50 +08:00
FIX: pending flags message should go to moderators group, not staff
This commit is contained in:
parent
556ef4cfbd
commit
ca224ed8e9
@ -16,7 +16,7 @@ module Jobs
|
|||||||
|
|
||||||
PostCreator.create(
|
PostCreator.create(
|
||||||
Discourse.system_user,
|
Discourse.system_user,
|
||||||
target_group_names: Group[:staff].name,
|
target_group_names: Group[:moderators].name,
|
||||||
archetype: Archetype.private_message,
|
archetype: Archetype.private_message,
|
||||||
subtype: TopicSubtype.system_message,
|
subtype: TopicSubtype.system_message,
|
||||||
title: I18n.t('flags_reminder.subject_template', { count: PostAction.flagged_posts_count }),
|
title: I18n.t('flags_reminder.subject_template', { count: PostAction.flagged_posts_count }),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user