Don't roll up account labels into additional post alerts (#11204)

This commit is contained in:
Eric Bailey
2026-07-20 17:06:14 -05:00
committed by GitHub
parent d3e7d99fa7
commit baaf2bdc2b
+9 -1
View File
@@ -54,7 +54,15 @@ export function PostAlerts({
const isOwnPost = !!post && post.author.did === currentAccount?.did
const allLabels: ComAtprotoLabelDefs.Label[] =
isOwnPost && view === 'expanded'
? [...(post.labels ?? []), ...(post.author.labels ?? [])]
? [
...(post.labels ?? []),
/*
* Account labels appear on Profile. We don't show them here unless the
* user's mod settings are configured such that the labels land in the
* modui handling.
*/
// ...(post.author.labels ?? [])
]
: []
/*
* Labels that the moderation system already surfaces in this context -