Merge pull request #3 from QuickMythril/display-keyless-groups

Display keyless groups
This commit is contained in:
Phillip 2024-12-03 12:51:09 +02:00 committed by GitHub
commit 7ae422b10b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 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,7 +2487,7 @@ export const Group = ({
handleNewEncryptionNotification={
setNewEncryptionNotification
}
hide={groupSection !== "chat" || !secretKey || selectedDirect || newChat}
hide={groupSection !== "chat" || selectedDirect || newChat}
hideView={!(desktopViewMode === 'chat' && selectedGroup)}
handleSecretKeyCreationInProgress={
handleSecretKeyCreationInProgress
@ -2542,6 +2542,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>