Chatwoot/app/views/api/v1/widget/inbox_members/index.json.jbuilder
Pranav Raj S 0b31e14132
Feature: Add online status to each user (#452)
* Feature: Add online status to each user
* Add OnlineStatusable, add availability status to thumbnail
2020-02-02 22:49:16 +05:45

7 lines
226 B
Ruby

json.payload do
json.array! @inbox_members do |inbox_member|
json.name inbox_member.user.name
json.avatar_url inbox_member.user.avatar_url
json.availability_status inbox_member.user.availability_status
end
end