[FIX] Sidebar presence will now correctly update for Omnichannel rooms (#19746)

pull/19761/head
Alan Sikora 5 years ago committed by GitHub
parent 0766b9485f
commit 09e347b18d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      client/sidebar/RoomList.js

@ -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;
});

Loading…
Cancel
Save