いちおう動くようにはなった
Signed-off-by: mattyatea <mattyacocacora0@gmail.com>
This commit is contained in:
parent
f72228f428
commit
e133a6b6a4
21 changed files with 597 additions and 8 deletions
|
|
@ -57,6 +57,7 @@ import { FeaturedService } from '@/core/FeaturedService.js';
|
|||
import { FunoutTimelineService } from '@/core/FunoutTimelineService.js';
|
||||
import { UtilityService } from '@/core/UtilityService.js';
|
||||
import { UserBlockingService } from '@/core/UserBlockingService.js';
|
||||
import { MiNoteSchedule } from '@/models/_.js';
|
||||
|
||||
type NotificationType = 'reply' | 'renote' | 'quote' | 'mention';
|
||||
|
||||
|
|
@ -131,6 +132,7 @@ type Option = {
|
|||
renote?: MiNote | null;
|
||||
files?: MiDriveFile[] | null;
|
||||
poll?: IPoll | null;
|
||||
schedule?: MiNoteSchedule | null;
|
||||
localOnly?: boolean | null;
|
||||
reactionAcceptance?: MiNote['reactionAcceptance'];
|
||||
cw?: string | null;
|
||||
|
|
@ -367,7 +369,6 @@ export class NoteCreateService implements OnApplicationShutdown {
|
|||
data.visibleUsers.push(await this.usersRepository.findOneByOrFail({ id: data.reply!.userId }));
|
||||
}
|
||||
}
|
||||
|
||||
const note = await this.insertNote(user, data, tags, emojis, mentionedUsers);
|
||||
|
||||
setImmediate('post created', { signal: this.#shutdownController.signal }).then(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue