Zap threads fixes

This commit is contained in:
austinkelsay 2024-11-10 15:24:55 -06:00
parent c2ac646719
commit 0ad9ff282d
No known key found for this signature in database
GPG Key ID: 44CB4EC6D9F2FA02
2 changed files with 3 additions and 3 deletions

View File

@ -93,7 +93,7 @@ const CommunityMessage = ({ message, searchQuery, windowWidth, platform }) => {
anchor={nip19.noteEncode(message.id)}
user={nsec || npub || null}
relays="wss://nos.lol/, wss://relay.damus.io/, wss://relay.snort.social/, wss://relay.nostr.band/, wss://relay.mutinywallet.com/, wss://relay.primal.net/"
disable={nsec ? "zaps,login" : "zaps"}
disable="zaps"
/>
) : null}
</div>

View File

@ -172,11 +172,11 @@ const Details = () => {
handlePaymentError={handlePaymentError}
authorView={authorView}
/>
{typeof window !== 'undefined' && nAddress !== null && session?.user?.pubkey && (
{nAddress !== null && (nsec || npub) && (
<div className='px-4'>
<ZapThreadsWrapper
anchor={nAddress}
user={session?.user?.pubkey || null}
user={nsec || npub || null}
relays="wss://nos.lol/, wss://relay.damus.io/, wss://relay.snort.social/, wss://relay.nostr.band/, wss://relay.mutinywallet.com/, wss://relay.primal.net/"
disable="zaps"
/>