fix: Remove author filter from releases query

The a tag already uniquely identifies the app (32267:pubkey:identifier).
Releases may be published by different authors (maintainers, packagers)
than the app author, so we should show all releases that reference
the app via the a tag, regardless of who published them.
This commit is contained in:
Claude
2026-01-11 20:30:02 +00:00
parent 865f715d51
commit 93df89b304

View File

@@ -156,7 +156,7 @@ export function ZapstoreAppDetailRenderer({
const license = getAppLicense(event);
const identifier = getAppIdentifier(event);
// Query for releases that reference this app (from same author only)
// Query for releases that reference this app
const releasesFilter = useMemo(() => {
if (!identifier) {
// Return a filter that matches nothing when no identifier
@@ -164,7 +164,6 @@ export function ZapstoreAppDetailRenderer({
}
return {
kinds: [30063],
authors: [event.pubkey],
"#a": [`32267:${event.pubkey}:${identifier}`],
};
}, [event.pubkey, identifier]);