fix: handle purged posts in quote availability and mobile author counts

This commit is contained in:
plebeius
2026-03-07 13:52:48 +08:00
parent 1b9f69839d
commit 58abae7e38
3 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -197,7 +197,7 @@ const PostInfoAndMedia = ({ post, postReplyCount = 0, roles, threadNumber }: Pos
const handleUserAddressClick = useAuthorAddressClick();
const numberOfPostsByAuthor = (() => {
if (!showUserID || deleted || removed || !shortAddress || !postCid || typeof document === 'undefined') {
if (!showUserID || deleted || removed || purged || !shortAddress || !postCid || typeof document === 'undefined') {
return 0;
}