mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-03-21 03:30:42 +00:00
Handle too many mentions error in inbox without retry
Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
This commit is contained in:
@@ -235,6 +235,9 @@ export class InboxProcessorService implements OnApplicationShutdown {
|
|||||||
if (e.id === 'd450b8a9-48e4-4dab-ae36-f4db763fda7c') { // invalid Note
|
if (e.id === 'd450b8a9-48e4-4dab-ae36-f4db763fda7c') { // invalid Note
|
||||||
return e.message;
|
return e.message;
|
||||||
}
|
}
|
||||||
|
if (e.id === '9f466dab-c856-48cd-9e65-ff90ff750580') {
|
||||||
|
return 'note contains too many mentions';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user