This commit is contained in:
2024-09-09 23:52:03 +03:00
parent 7c8c6eaba3
commit 1130628302
2 changed files with 3 additions and 2 deletions

View File

@@ -762,6 +762,7 @@ export const Group = ({
const getMembers = async (groupId) => {
try {
const res = await getGroupMembers(groupId);
if(groupId !== selectedGroupRef.current?.groupId) return
setMembers(res);
} catch (error) {}
};
@@ -773,7 +774,6 @@ export const Group = ({
}, [selectedGroup?.groupId]);
const shouldReEncrypt = useMemo(() => {
if (triedToFetchSecretKey && !secretKeyPublishDate) return true;
if (
!secretKeyPublishDate ||