2 small updates

This commit is contained in:
DuckieTM 2024-03-31 15:51:57 +02:00
parent cb3e9fac13
commit 19953a6697
3 changed files with 3 additions and 2 deletions

View File

@ -149,6 +149,7 @@ export const ChatWidgetView: FC<{}> = props =>
return () =>
{
worker.postMessage({ action: 'STOP' });
worker.terminate();
}
}, [ getScrollSpeed, removeHiddenChats, setChatMessages ]);

View File

@ -18,7 +18,7 @@
background-color: #b69b83;
width: 50px;
height: 50px;
border-radius: 32px;
border-radius: 1rem;
border: 2px solid #fff;
padding: 1.75em;
@include media-breakpoint-down(sm) {

View File

@ -121,7 +121,7 @@ const useAvatarInfoWidgetState = () =>
event.addedUsers.forEach(user =>
{
if(user.webID === GetSessionDataManager().userId) return;
if(user.webID === GetSessionDataManager().userId || user.type !== RoomObjectType.USER) return;
if(friends.find(friend => (friend.id === user.webID)))
{