Skip to content

Commit

Permalink
Fixed sidebar livechat status update
Browse files Browse the repository at this point in the history
  • Loading branch information
alansikora committed Dec 3, 2020
1 parent 10d9f32 commit 39d3d20
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/sidebar/RoomList.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,9 @@ export const SideBarItemTemplateWithData = React.memo(function SideBarItemTempla
if (prevProps.room.alert !== nextProps.room.alert) {
return false;
}
if (prevProps.room.v?.status !== nextProps.room.v?.status) {
return false;
}

return true;
});

0 comments on commit 39d3d20

Please sign in to comment.