mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-15 09:33:03 -04:00
Fix Channel Tabs
This commit is contained in:
parent
c4ba86345b
commit
22a755b25d
4 changed files with 10 additions and 9 deletions
|
@ -10,6 +10,7 @@ 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";
|
||||
|
||||
|
@ -17,6 +18,8 @@ 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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue