feat: default to publishing posts only to outbox/inbox relays

This commit is contained in:
codytseng
2025-08-30 13:06:41 +08:00
parent 489ce67343
commit 9759e3e750
4 changed files with 6 additions and 30 deletions

View File

@@ -137,7 +137,7 @@ export default function ReplyNoteList({ index, event }: { index?: number; event:
rootInfo.type === 'E'
? client.getSeenEventRelayUrls(rootInfo.id)
: rootInfo.type === 'A'
? client.getCurrentRelayUrls()
? client.getSeenEventRelayUrls(rootInfo.eventId)
: []
relayUrls.unshift(...seenOn)
@@ -317,7 +317,7 @@ export default function ReplyNoteList({ index, event }: { index?: number; event:
})}
</div>
{!loading && (
<div className="text-sm mt-2 text-center text-muted-foreground">
<div className="text-sm mt-2 mb-3 text-center text-muted-foreground">
{replies.length > 0 ? t('no more replies') : t('no replies')}
</div>
)}