Skip to content

Commit

Permalink
cleanup imports
Browse files Browse the repository at this point in the history
  • Loading branch information
caipira113 committed Sep 22, 2023
1 parent c3f2a9b commit f0d9c2f
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions packages/backend/src/core/MessagingService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,20 @@ import { DI } from '@/di-symbols.js';
import type { Config } from '@/config.js';
import type { MiDriveFile } from '@/models/DriveFile.js';
import type { MiMessagingMessage } from '@/models/MessagingMessage.js';
import type { MiNote } from '@/models/Note.js';
import type { MiNote, IMentionedRemoteUsers } from '@/models/Note.js';
import type { MiUser, MiRemoteUser } from '@/models/User.js';
import type { MiUserGroup } from '@/models/UserGroup.js';
import { QueueService } from '@/core/QueueService.js';
import { toArray } from '@/misc/prelude/array.js';
import { IdentifiableError } from '@/misc/identifiable-error.js';
import type { MessagingMessagesRepository, MutingsRepository, UserGroupJoiningsRepository, UsersRepository } from '@/models/_.js';
import type { MessagingMessagesRepository, MutingsRepository, UserGroupJoiningsRepository, UsersRepository, UserProfilesRepository } from '@/models/_.js';
import { IdService } from '@/core/IdService.js';
import { GlobalEventService } from '@/core/GlobalEventService.js';
import { UserEntityService } from '@/core/entities/UserEntityService.js';
import { ApRendererService } from '@/core/activitypub/ApRendererService.js';
import { MessagingMessageEntityService } from '@/core/entities/MessagingMessageEntityService.js';
import { PushNotificationService } from '@/core/PushNotificationService.js';
import { bindThis } from '@/decorators.js';
import type { UserProfilesRepository } from "@/models/_.js";
import {IMentionedRemoteUsers} from '@/models/Note.js';
import { NoteEntityService } from '@/core/entities/NoteEntityService.js';

@Injectable()
export class MessagingService {
Expand All @@ -47,8 +44,6 @@ export class MessagingService {

@Inject(DI.mutingsRepository)
private mutingsRepository: MutingsRepository,

private noteEntityService: NoteEntityService,
private userEntityService: UserEntityService,
private messagingMessageEntityService: MessagingMessageEntityService,
private idService: IdService,
Expand Down

0 comments on commit f0d9c2f

Please sign in to comment.