mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 16:07:03 +08:00
FIX: report discobot messages as system messages instead of user-to-user
This commit is contained in:
@ -184,7 +184,8 @@ module DiscourseNarrativeBot
|
|||||||
opts = {
|
opts = {
|
||||||
title: I18n.t("#{I18N_KEY}.hello.title", title: SiteSetting.title),
|
title: I18n.t("#{I18N_KEY}.hello.title", title: SiteSetting.title),
|
||||||
target_usernames: @user.username,
|
target_usernames: @user.username,
|
||||||
archetype: Archetype.private_message
|
archetype: Archetype.private_message,
|
||||||
|
subtype: TopicSubtype.system_message,
|
||||||
}
|
}
|
||||||
|
|
||||||
if @post &&
|
if @post &&
|
||||||
|
Reference in New Issue
Block a user