fix: update DM wording

This commit is contained in:
SwiftHawk 2024-05-08 19:11:06 +05:00
parent 1add2efd14
commit de00b9b5a7

View File

@ -72,12 +72,12 @@ export const sendDM = async (
) => {
// Construct the content of the DM
const initialLine = isSigner
? 'You have been requested for a signature.'
? 'Your signature is requested on the document below!'
: 'You have received a signed document.'
const decryptionUrl = `${window.location.origin}/#${appPrivateRoutes.decryptZip}?file=${fileUrl}&key=${encryptionKey}`
const content = `${initialLine}\nHere is the URL for the zip file that you can download.\n${fileUrl}\nHowever, this zip file is encrypted and you need to decrypt it using ${decryptionUrl}`
const content = `${initialLine}\n\n${decryptionUrl}\n\nDirect download${fileUrl}`
// Set up event listener for authentication event
nostrController.on('nsecbunker-auth', (url) => {