FIX: report discobot messages as system messages instead of user-to-user

This commit is contained in:
Neil Lalonde 2017-07-12 16:00:18 -04:00
parent 76981605fa
commit d1d43ff5d9
1 changed files with 2 additions and 1 deletions

View File

@ -184,7 +184,8 @@ module DiscourseNarrativeBot
opts = {
title: I18n.t("#{I18N_KEY}.hello.title", title: SiteSetting.title),
target_usernames: @user.username,
archetype: Archetype.private_message
archetype: Archetype.private_message,
subtype: TopicSubtype.system_message,
}
if @post &&