Chatwoot/app/views/api/v1/widget/conversations/index.json.jbuilder
Nithin David Thomas 49db9c5d8a
Adds unread message bubbles for widget (#943)
Co-authored-by: Sojan <sojan@pepalo.com>
Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com>
2020-07-08 00:04:44 +05:30

6 lines
192 B
Ruby

if @conversation
json.id @conversation.display_id
json.inbox_id @conversation.inbox_id
json.user_last_seen_at @conversation.user_last_seen_at.to_i
json.status @conversation.status
end