mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 17:41:17 +08:00
FIX: Allow advanced tutorial when title emojis are disabled
We already skip validations for other uses of PostCreator in the narrative bot, so this commit adds it in the `reply_to` action as well
This commit is contained in:
@ -18,7 +18,8 @@ module DiscourseNarrativeBot
|
||||
raw: raw,
|
||||
topic_id: post.topic_id,
|
||||
reply_to_post_number: post.post_number,
|
||||
post_alert_options: defaut_post_alert_opts
|
||||
post_alert_options: defaut_post_alert_opts,
|
||||
skip_validations: true
|
||||
}
|
||||
|
||||
new_post = PostCreator.create!(self.discobot_user, default_opts.merge(opts))
|
||||
|
Reference in New Issue
Block a user