fix: dont retry too many mentions error notes for inbox

This commit is contained in:
fly_mc 2024-10-16 20:57:42 +08:00
parent 295b678be3
commit 3fca39abd2

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';
}