Merge branch 'main' into issue32
This commit is contained in:
commit
6e5b6ccc02
@ -321,11 +321,15 @@ export const CreatePage = () => {
|
|||||||
setLoadingSpinnerDesc('Sending DM to signers/viewers')
|
setLoadingSpinnerDesc('Sending DM to signers/viewers')
|
||||||
|
|
||||||
// send DM to first signer if exists
|
// send DM to first signer if exists
|
||||||
if (signers.length > 0) {
|
const signer =
|
||||||
|
signers.length > 0 && signers[0].pubkey === usersPubkey
|
||||||
|
? signers[1]
|
||||||
|
: signers[0]
|
||||||
|
if (signer) {
|
||||||
await sendDM(
|
await sendDM(
|
||||||
fileUrl,
|
fileUrl,
|
||||||
encryptionKey,
|
encryptionKey,
|
||||||
signers[0].pubkey,
|
signer.pubkey,
|
||||||
nostrController,
|
nostrController,
|
||||||
true,
|
true,
|
||||||
setAuthUrl
|
setAuthUrl
|
||||||
|
Loading…
Reference in New Issue
Block a user