Skip to content

Commit

Permalink
CV2-4696: set message type for short text (#1947)
Browse files Browse the repository at this point in the history
  • Loading branch information
melsawy authored Jul 7, 2024
1 parent 5ea1fb1 commit 9971f81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/models/concerns/smooch_messages.rb
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ def bundle_list_of_messages_to_items(list, last)
# No messages exist (this happens when all messages are short text)
# So will create a new message of type text and assign short text to it
message = last.clone
message['type'] = 'text'
message['text'] = all_text
messages << message
else
Expand Down

0 comments on commit 9971f81

Please sign in to comment.