fix: update DM wording #13

Merged
s merged 1 commits from issue-4 into main 2024-05-08 14:12:26 +00:00

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) => {