From de00b9b5a70bdafa2c10c35ba8956fffef1802d3 Mon Sep 17 00:00:00 2001 From: SwiftHawk Date: Wed, 8 May 2024 19:11:06 +0500 Subject: [PATCH] fix: update DM wording --- src/utils/misc.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/misc.ts b/src/utils/misc.ts index 8c20392..4ec79e2 100644 --- a/src/utils/misc.ts +++ b/src/utils/misc.ts @@ -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) => {