diff --git a/packages/react-chat/src/components/Form/ContactMenu.tsx b/packages/react-chat/src/components/Form/ContactMenu.tsx
index c5597fd..7378b87 100644
--- a/packages/react-chat/src/components/Form/ContactMenu.tsx
+++ b/packages/react-chat/src/components/Form/ContactMenu.tsx
@@ -2,11 +2,13 @@ import React, { useMemo } from "react";
import styled from "styled-components";
import { useBlockedUsers } from "../../contexts/blockedUsersProvider";
+import { useFriends } from "../../contexts/friendsProvider";
import { useModal } from "../../contexts/modalProvider";
import { ChatMessage } from "../../models/ChatMessage";
import { Icon } from "../Chat/ChatMessages";
import { AddContactSvg } from "../Icons/AddContactIcon";
import { BlockSvg } from "../Icons/BlockIcon";
+import { ChatSvg } from "../Icons/ChatIcon";
import { EditSvg } from "../Icons/EditIcon";
import { ProfileSvg } from "../Icons/ProfileIcon";
import { UntrustworthIcon } from "../Icons/UntrustworthIcon";
@@ -38,6 +40,10 @@ export function ContactMenu({
[blockedUsers, id]
);
+ const { friends, setFriends } = useFriends();
+
+ const userIsFriend = useMemo(() => friends.includes(id), [friends, id]);
+
const { setModal } = useModal(ProfileModalName);
return (
@@ -65,10 +71,18 @@ export function ContactMenu({
View Profile
-
+ {!userIsFriend && (
+
+ )}
+ {userIsFriend && (
+
+ )}
- {!userInBlocked && (
+ {!userIsFriend && (