mirror of
https://github.com/duckietm/Nitro-Cool-UI.git
synced 2025-06-21 22:36:58 +00:00
2 small updates
This commit is contained in:
parent
cb3e9fac13
commit
19953a6697
@ -149,6 +149,7 @@ export const ChatWidgetView: FC<{}> = props =>
|
|||||||
return () =>
|
return () =>
|
||||||
{
|
{
|
||||||
worker.postMessage({ action: 'STOP' });
|
worker.postMessage({ action: 'STOP' });
|
||||||
|
worker.terminate();
|
||||||
}
|
}
|
||||||
}, [ getScrollSpeed, removeHiddenChats, setChatMessages ]);
|
}, [ getScrollSpeed, removeHiddenChats, setChatMessages ]);
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
background-color: #b69b83;
|
background-color: #b69b83;
|
||||||
width: 50px;
|
width: 50px;
|
||||||
height: 50px;
|
height: 50px;
|
||||||
border-radius: 32px;
|
border-radius: 1rem;
|
||||||
border: 2px solid #fff;
|
border: 2px solid #fff;
|
||||||
padding: 1.75em;
|
padding: 1.75em;
|
||||||
@include media-breakpoint-down(sm) {
|
@include media-breakpoint-down(sm) {
|
||||||
|
@ -121,7 +121,7 @@ const useAvatarInfoWidgetState = () =>
|
|||||||
|
|
||||||
event.addedUsers.forEach(user =>
|
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)))
|
if(friends.find(friend => (friend.id === user.webID)))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user