mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
FIX: Bot should only respond to regular posts.
This commit is contained in:
@ -28,7 +28,7 @@ module DiscourseNarrativeBot
|
||||
def select
|
||||
data = Store.get(@user.id)
|
||||
|
||||
if @post && !is_topic_action?
|
||||
if @post && @post.post_type == Post.types[:regular] && !is_topic_action?
|
||||
is_reply = @input == :reply
|
||||
return if is_reply && reset_track
|
||||
|
||||
|
Reference in New Issue
Block a user