fix: allow masked phone author display

This commit is contained in:
kdletters
2026-06-05 00:51:43 +08:00
parent b19a3e4231
commit fdafe8d747
3 changed files with 14 additions and 7 deletions

View File

@@ -884,9 +884,6 @@ function normalizePlatformPublicAuthorName(value: string | null | undefined) {
}
const compact = normalized.replace(/\s+/gu, '');
if (/^\d+\*+\d+(?:[·.-]?SY-\d+)?$/iu.test(compact)) {
return '';
}
if (/^SY-\d+$/iu.test(compact)) {
return '';
}