fix, async

This commit is contained in:
tamaina 2024-03-04 02:26:16 +00:00
parent eefca034fc
commit 79249a0514

View file

@ -70,7 +70,7 @@ export class QueueService {
} }
@bindThis @bindThis
public deliver(user: ThinUser, content: IActivity | null, to: string | null, isSharedInbox: boolean) { public async deliver(user: ThinUser, content: IActivity | null, to: string | null, isSharedInbox: boolean) {
if (content == null) return null; if (content == null) return null;
if (to == null) return null; if (to == null) return null;