feat: audio

This commit is contained in:
codytseng 2025-07-29 22:44:43 +08:00
parent de09942124
commit 4ea5ea1705
37 changed files with 629 additions and 145 deletions

View file

@ -557,13 +557,7 @@ export function NostrProvider({ children }: { children: React.ReactNode }) {
const _additionalRelayUrls: string[] = additionalRelayUrls ?? []
if (
!specifiedRelayUrls?.length &&
[
kinds.ShortTextNote,
kinds.Reaction,
kinds.Repost,
ExtendedKind.COMMENT,
ExtendedKind.PICTURE
].includes(draftEvent.kind)
![kinds.Contacts, kinds.Mutelist].includes(draftEvent.kind)
) {
const mentions: string[] = []
draftEvent.tags.forEach(([tagName, tagValue]) => {

View file

@ -50,10 +50,12 @@ export function NotificationProvider({ children }: { children: React.ReactNode }
{
kinds: [
kinds.ShortTextNote,
ExtendedKind.COMMENT,
kinds.Reaction,
kinds.Repost,
kinds.Zap
kinds.Zap,
ExtendedKind.COMMENT,
ExtendedKind.POLL_RESPONSE,
ExtendedKind.VOICE_COMMENT
],
'#p': [pubkey],
since: notificationsSeenAt,