From 92d16b52e18a698ad209bb78121c2be069b9427d Mon Sep 17 00:00:00 2001 From: Reinaldo Neto <47038980+reinaldonetof@users.noreply.github.com> Date: Thu, 14 Jul 2022 14:18:45 -0300 Subject: [PATCH] Regression: Status of Omnichannel's Icon isn't working in RoomsListView (#4356) * Regression: Status of Omnichannel's Icon isn't working in RoomsListView * clean --- app/containers/RoomItem/index.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/containers/RoomItem/index.tsx b/app/containers/RoomItem/index.tsx index c7547d5c4..5dd7d5469 100644 --- a/app/containers/RoomItem/index.tsx +++ b/app/containers/RoomItem/index.tsx @@ -85,6 +85,8 @@ const RoomItemContainer = React.memo( accessibilityLabel = `, ${I18n.t('last_message')} ${date}`; } + const status = item.t === 'l' ? item.visitor?.status || item.v?.status : userStatus; + return (