Skip to content

Commit

Permalink
apply PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
danielevalverde committed Aug 27, 2024
1 parent 7085b81 commit 1970723
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models/bot/smooch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,8 @@ def self.start_flow(workflow, language, uid)

def self.parse_query_message(message, app_id, uid, workflow, language)
sm = CheckStateMachine.new(uid)
if self.process_menu_option(message, sm.state.value, app_id)
# Do nothing else - the action will be executed by "process_menu_option" method
sm.go_to_ask_if_ready unless sm.state.value == 'ask_if_ready'
self.ask_if_ready_to_submit(uid, workflow, 'ask_if_ready', language)
end
Expand Down

0 comments on commit 1970723

Please sign in to comment.