diff --git a/src/components/room/widgets/chat/ChatWidgetView.tsx b/src/components/room/widgets/chat/ChatWidgetView.tsx index 576094f..967b21f 100644 --- a/src/components/room/widgets/chat/ChatWidgetView.tsx +++ b/src/components/room/widgets/chat/ChatWidgetView.tsx @@ -149,6 +149,7 @@ export const ChatWidgetView: FC<{}> = props => return () => { worker.postMessage({ action: 'STOP' }); + worker.terminate(); } }, [ getScrollSpeed, removeHiddenChats, setChatMessages ]); diff --git a/src/components/toolbar/ToolbarView.scss b/src/components/toolbar/ToolbarView.scss index 1484a77..44c42fe 100644 --- a/src/components/toolbar/ToolbarView.scss +++ b/src/components/toolbar/ToolbarView.scss @@ -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) { diff --git a/src/hooks/rooms/widgets/useAvatarInfoWidget.ts b/src/hooks/rooms/widgets/useAvatarInfoWidget.ts index 9545362..b69caff 100644 --- a/src/hooks/rooms/widgets/useAvatarInfoWidget.ts +++ b/src/hooks/rooms/widgets/useAvatarInfoWidget.ts @@ -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))) {