Removed leftover Channels code

This commit is contained in:
Natty 2023-07-31 19:43:14 +02:00
parent 283275c80d
commit f9ab6d7c65
Signed by: natty
GPG Key ID: BF6CB659ADEE60EC
2 changed files with 3 additions and 8 deletions

View File

@ -1,8 +1,8 @@
import * as Post from "@/misc/post.js"; import * as Post from "@/misc/post.js";
import create from "@/services/note/create.js"; import create from "@/services/note/create.js";
import { Users } from "@/models/index.js"; import {Users} from "@/models/index.js";
import type { DbUserImportMastoPostJobData } from "@/queue/types.js"; import type {DbUserImportMastoPostJobData} from "@/queue/types.js";
import { queueLogger } from "../../logger.js"; import {queueLogger} from "../../logger.js";
import type Bull from "bull"; import type Bull from "bull";
const logger = queueLogger.createSubLogger("import-calckey-post"); const logger = queueLogger.createSubLogger("import-calckey-post");
@ -41,7 +41,6 @@ export async function importCkPost(
localOnly, localOnly,
visibility: "hidden", visibility: "hidden",
visibleUsers: [], visibleUsers: [],
channel: null,
apMentions: new Array(0), apMentions: new Array(0),
apHashtags: undefined, apHashtags: undefined,
apEmojis: undefined, apEmojis: undefined,

View File

@ -148,10 +148,6 @@ type NoteStreamEventTypes = {
}; };
}; };
export interface ChannelStreamTypes {
typing: User["id"];
}
export interface UserListStreamTypes { export interface UserListStreamTypes {
userAdded: Packed<"User">; userAdded: Packed<"User">;
userRemoved: Packed<"User">; userRemoved: Packed<"User">;