diff --git a/lib/sessions/event/chat_status_customer.rb b/lib/sessions/event/chat_status_customer.rb index 8dc46d567..5fa937e22 100644 --- a/lib/sessions/event/chat_status_customer.rb +++ b/lib/sessions/event/chat_status_customer.rb @@ -17,6 +17,10 @@ class Sessions::Event::ChatStatusCustomer < Sessions::Event::ChatBase session_id = nil if @data['data']['session_id'] session_id = @data['data']['session_id'] + + # update recipients of existing sessions + chat_session = Chat::Session.find_by(session_id: session_id) + chat_session.add_recipient(@client_id, true) end { event: 'chat_status_customer',