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 () =>
|
||||
{
|
||||
worker.postMessage({ action: 'STOP' });
|
||||
worker.terminate();
|
||||
}
|
||||
}, [ getScrollSpeed, removeHiddenChats, setChatMessages ]);
|
||||
|
||||
|
@ -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) {
|
||||
|
@ -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)))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user