mirror of
https://github.com/purrgrammer/grimoire.git
synced 2026-04-10 07:27:23 +02:00
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:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user