fix: dont retry too many mentions error notes for inbox

This commit is contained in:
Lhc_fl 2024-10-08 21:41:41 +08:00 committed by laoXong
parent 4fe5b2337e
commit 7e3168a96b

View File

@ -224,6 +224,9 @@ export class InboxProcessorService implements OnApplicationShutdown {
}
} catch (e) {
if (e instanceof IdentifiableError) {
if (e.id === '9f466dab-c856-48cd-9e65-ff90ff750580') {
return 'blocked notes with too many mentions';
}
if (e.id === '689ee33f-f97c-479a-ac49-1b9f8140af99') {
return 'blocked notes with prohibited words';
}