Skip to content
Snippets Groups Projects
Commit b3187893 authored by tamaina's avatar tamaina
Browse files

fix(backend): deliverManyにcontentのnullチェックを追加

https://github.com/MisskeyIO/misskey/pull/99
parent 0b8e0fa9
No related branches found
No related tags found
No related merge requests found
......@@ -97,6 +97,8 @@ export class QueueService {
*/
@bindThis
public async deliverMany(user: ThinUser, content: IActivity | null, inboxes: Map<string, boolean>) {
if (content == null) return null;
const opts = {
attempts: this.config.deliverJobMaxAttempts ?? 12,
backoff: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment