mirror of
https://github.com/paricafe/misskey.git
synced 2025-02-17 18:17:29 -06:00
fix: dont retry too many mentions error notes for inbox
This commit is contained in:
parent
295b678be3
commit
3fca39abd2
1 changed files with 3 additions and 0 deletions
|
@ -224,6 +224,9 @@ export class InboxProcessorService implements OnApplicationShutdown {
|
||||||
}
|
}
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
if (e instanceof IdentifiableError) {
|
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') {
|
if (e.id === '689ee33f-f97c-479a-ac49-1b9f8140af99') {
|
||||||
return 'blocked notes with prohibited words';
|
return 'blocked notes with prohibited words';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue