Revert "Fix Channel Tabs"

This reverts commit 22a755b25d.
This commit is contained in:
thororen1234 2024-09-25 17:13:39 -04:00
parent 22a755b25d
commit 81965dfdc0
4 changed files with 9 additions and 10 deletions

View file

@ -10,7 +10,6 @@ import { findGroupChildrenByChildId, NavContextMenuPatchCallback } from "@api/Co
import ErrorBoundary from "@components/ErrorBoundary";
import { Devs, EquicordDevs } from "@utils/constants";
import definePlugin from "@utils/types";
import { findByCodeLazy } from "@webpack";
import { ChannelStore, Menu } from "@webpack/common";
import { Channel, Message } from "discord-types/general";
@ -18,8 +17,6 @@ import ChannelsTabsContainer from "./components/ChannelTabsContainer";
import { BasicChannelTabsProps, createTab, settings } from "./util";
import * as ChannelTabsUtils from "./util";
export const ackChannel = findByCodeLazy(".getActiveJoinedThreadsForParent(", "isForumLikeChannel()");
const contextMenuPatch: NavContextMenuPatchCallback = (children, props: { channel: Channel, messageId?: string; }) =>
() => {
const { channel, messageId } = props;