diff --git a/src/helpers/nostr/events.ts b/src/helpers/nostr/events.ts index 4a94ef331..982d5c585 100644 --- a/src/helpers/nostr/events.ts +++ b/src/helpers/nostr/events.ts @@ -27,10 +27,10 @@ export function getEventUID(event: NostrEvent) { } export function isReply(event: NostrEvent | DraftNostrEvent) { - return event.kind === 1 && !!getReferences(event).replyId; + return !!getReferences(event).replyId; } export function isMentionedInContent(event: NostrEvent | DraftNostrEvent, pubkey: string) { - return event.kind === 1 && filterTagsByContentRefs(event.content, event.tags).some((t) => t[1] === pubkey); + return filterTagsByContentRefs(event.content, event.tags).some((t) => t[1] === pubkey); } export function isRepost(event: NostrEvent | DraftNostrEvent) { diff --git a/src/providers/notification-timeline.tsx b/src/providers/notification-timeline.tsx index 76c072b5d..e457813b0 100644 --- a/src/providers/notification-timeline.tsx +++ b/src/providers/notification-timeline.tsx @@ -41,7 +41,7 @@ export default function NotificationTimelineProvider({ children }: PropsWithChil account?.pubkey ? { "#p": [account.pubkey], - kinds: [Kind.Text, Kind.Repost, Kind.Reaction, Kind.Zap, TORRENT_COMMENT_KIND], + kinds: [Kind.Text, Kind.Repost, Kind.Reaction, Kind.Zap, TORRENT_COMMENT_KIND, Kind.Article], } : undefined, { eventFilter }, diff --git a/src/views/community/community-home.tsx b/src/views/community/community-home.tsx index cdd914c33..955c191dc 100644 --- a/src/views/community/community-home.tsx +++ b/src/views/community/community-home.tsx @@ -97,7 +97,7 @@ export default function CommunityHomePage({ community }: { community: NostrEvent )} - +