diff --git a/src/hooks/rooms/widgets/useAvatarInfoWidget.ts b/src/hooks/rooms/widgets/useAvatarInfoWidget.ts index 2534a2f2..9f5e2136 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))) {