Skip to content

Commit

Permalink
React to the Smooch trigger related to story mention.
Browse files Browse the repository at this point in the history
The tipline bot should react to the Smooch trigger that happens when a connected Instagram account is mentioned in a story. This is required in order for the Facebook app to be approved.

Fixes: CV2-3727.
  • Loading branch information
caiosba committed Jan 24, 2024
1 parent ea0f6da commit 23257b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/bot/smooch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def self.run(body)
when 'message:delivery:failure'
self.resend_message(json)
true
when 'conversation:start'
when 'conversation:start', 'conversation:referral'
message = {
'_id': json['conversation']['_id'],
authorId: json['appUser']['_id'],
Expand Down

0 comments on commit 23257b0

Please sign in to comment.