show group chats without secret key

This commit is contained in:
QuickMythril 2024-12-03 04:08:59 -05:00
parent 6ca1c6a578
commit c245454486
2 changed files with 5 additions and 3 deletions

View File

@ -182,7 +182,6 @@ const [messageSize, setMessageSize] = useState(0)
try {
if(!secretKeyRef.current){
checkForFirstSecretKeyNotification(encryptedMessages)
return
}
return new Promise((res, rej)=> {
window.sendMessage("decryptSingle", {

View File

@ -2487,8 +2487,7 @@ export const Group = ({
handleNewEncryptionNotification={
setNewEncryptionNotification
}
hide={groupSection !== "chat" || !secretKey || selectedDirect || newChat}
hideView={!(desktopViewMode === 'chat' && selectedGroup)}
hide={groupSection !== "chat" || selectedDirect || newChat}
handleSecretKeyCreationInProgress={
handleSecretKeyCreationInProgress
}
@ -2542,6 +2541,10 @@ export const Group = ({
Wait until an admin re-encrypts the keys.
</Typography>
<Spacer height="25px" />
<Typography>
<strong>Only unencrypted messages will be displayed.</strong>
</Typography>
<Spacer height="25px" />
<Typography>
Try notifying an admin from the list of admins below:
</Typography>