putting in check if there is activity in a chat which I haven't viewed
This commit is contained in:
@@ -107,14 +107,11 @@ export function MasterAvatarGroupWithUserFetch(props: {
|
||||
|
||||
const resultUsers: User[] = [] as User[];
|
||||
|
||||
console.log(listOfOtherUsers);
|
||||
listOfOtherUsers.forEach((oUser) => {
|
||||
if (relContactsMap.has(oUser)) {
|
||||
resultUsers.push(relContactsMap.get(oUser)!);
|
||||
}
|
||||
});
|
||||
|
||||
console.log("fetched users for frontend: ", resultUsers);
|
||||
|
||||
return <MasterAvatarGroup listOfUsers={resultUsers} {...props} />;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user