Merge pull request 'fix: update DM wording' (#13) from issue-4 into main
All checks were successful
Release / build_and_release (push) Successful in 1m7s

Reviewed-on: https://git.sigit.io/sig/it/pulls/13
This commit is contained in:
s 2024-05-08 14:12:26 +00:00
commit 15a3d83610

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