Merge pull request 'chore: quick fix' (#36) from quick-fix into main
All checks were successful
Release / build_and_release (push) Successful in 1m8s
All checks were successful
Release / build_and_release (push) Successful in 1m8s
Reviewed-on: https://git.sigit.io/sig/it/pulls/36
This commit is contained in:
commit
16a88ef1ad
@ -321,11 +321,15 @@ export const CreatePage = () => {
|
||||
setLoadingSpinnerDesc('Sending DM to signers/viewers')
|
||||
|
||||
// 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(
|
||||
fileUrl,
|
||||
encryptionKey,
|
||||
signers[0].pubkey,
|
||||
signer.pubkey,
|
||||
nostrController,
|
||||
true,
|
||||
setAuthUrl
|
||||
|
Loading…
Reference in New Issue
Block a user