Removed leftover Channels code
This commit is contained in:
parent
283275c80d
commit
f9ab6d7c65
|
@ -1,8 +1,8 @@
|
|||
import * as Post from "@/misc/post.js";
|
||||
import create from "@/services/note/create.js";
|
||||
import { Users } from "@/models/index.js";
|
||||
import type { DbUserImportMastoPostJobData } from "@/queue/types.js";
|
||||
import { queueLogger } from "../../logger.js";
|
||||
import {Users} from "@/models/index.js";
|
||||
import type {DbUserImportMastoPostJobData} from "@/queue/types.js";
|
||||
import {queueLogger} from "../../logger.js";
|
||||
import type Bull from "bull";
|
||||
|
||||
const logger = queueLogger.createSubLogger("import-calckey-post");
|
||||
|
@ -41,7 +41,6 @@ export async function importCkPost(
|
|||
localOnly,
|
||||
visibility: "hidden",
|
||||
visibleUsers: [],
|
||||
channel: null,
|
||||
apMentions: new Array(0),
|
||||
apHashtags: undefined,
|
||||
apEmojis: undefined,
|
||||
|
|
|
@ -148,10 +148,6 @@ type NoteStreamEventTypes = {
|
|||
};
|
||||
};
|
||||
|
||||
export interface ChannelStreamTypes {
|
||||
typing: User["id"];
|
||||
}
|
||||
|
||||
export interface UserListStreamTypes {
|
||||
userAdded: Packed<"User">;
|
||||
userRemoved: Packed<"User">;
|
||||
|
|
Loading…
Reference in New Issue