fix: update DM wording
This commit is contained in:
parent
1add2efd14
commit
de00b9b5a7
@ -72,12 +72,12 @@ export const sendDM = async (
|
|||||||
) => {
|
) => {
|
||||||
// Construct the content of the DM
|
// Construct the content of the DM
|
||||||
const initialLine = isSigner
|
const initialLine = isSigner
|
||||||
? 'You have been requested for a signature.'
|
? 'Your signature is requested on the document below!'
|
||||||
: 'You have received a signed document.'
|
: 'You have received a signed document.'
|
||||||
|
|
||||||
const decryptionUrl = `${window.location.origin}/#${appPrivateRoutes.decryptZip}?file=${fileUrl}&key=${encryptionKey}`
|
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
|
// Set up event listener for authentication event
|
||||||
nostrController.on('nsecbunker-auth', (url) => {
|
nostrController.on('nsecbunker-auth', (url) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user