diff --git a/app/models/post_action.rb b/app/models/post_action.rb index c6ab249ff89..f6760a3a3bd 100644 --- a/app/models/post_action.rb +++ b/app/models/post_action.rb @@ -590,7 +590,7 @@ SQL end def self.post_action_type_for_post(post_id) - post_action = PostAction.find_by(deferred_at: nil, post_id: post_id, post_action_type_id: PostActionType.flag_types_without_custom.values, deleted_at: nil) + post_action = PostAction.find_by(deferred_at: nil, post_id: post_id, post_action_type_id: PostActionType.notify_flag_types.values, deleted_at: nil) PostActionType.types[post_action.post_action_type_id] end