mirror of
https://github.com/Qortal/Qortal-Hub.git
synced 2025-04-23 19:37:52 +00:00
show group chats without secret key
This commit is contained in:
parent
6ca1c6a578
commit
c245454486
@ -182,7 +182,6 @@ const [messageSize, setMessageSize] = useState(0)
|
|||||||
try {
|
try {
|
||||||
if(!secretKeyRef.current){
|
if(!secretKeyRef.current){
|
||||||
checkForFirstSecretKeyNotification(encryptedMessages)
|
checkForFirstSecretKeyNotification(encryptedMessages)
|
||||||
return
|
|
||||||
}
|
}
|
||||||
return new Promise((res, rej)=> {
|
return new Promise((res, rej)=> {
|
||||||
window.sendMessage("decryptSingle", {
|
window.sendMessage("decryptSingle", {
|
||||||
|
@ -2487,8 +2487,7 @@ export const Group = ({
|
|||||||
handleNewEncryptionNotification={
|
handleNewEncryptionNotification={
|
||||||
setNewEncryptionNotification
|
setNewEncryptionNotification
|
||||||
}
|
}
|
||||||
hide={groupSection !== "chat" || !secretKey || selectedDirect || newChat}
|
hide={groupSection !== "chat" || selectedDirect || newChat}
|
||||||
hideView={!(desktopViewMode === 'chat' && selectedGroup)}
|
|
||||||
handleSecretKeyCreationInProgress={
|
handleSecretKeyCreationInProgress={
|
||||||
handleSecretKeyCreationInProgress
|
handleSecretKeyCreationInProgress
|
||||||
}
|
}
|
||||||
@ -2542,6 +2541,10 @@ export const Group = ({
|
|||||||
Wait until an admin re-encrypts the keys.
|
Wait until an admin re-encrypts the keys.
|
||||||
</Typography>
|
</Typography>
|
||||||
<Spacer height="25px" />
|
<Spacer height="25px" />
|
||||||
|
<Typography>
|
||||||
|
<strong>Only unencrypted messages will be displayed.</strong>
|
||||||
|
</Typography>
|
||||||
|
<Spacer height="25px" />
|
||||||
<Typography>
|
<Typography>
|
||||||
Try notifying an admin from the list of admins below:
|
Try notifying an admin from the list of admins below:
|
||||||
</Typography>
|
</Typography>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user