remove unused isDM
This commit is contained in:
parent
a933b1a092
commit
85cd2cf9ba
1 changed files with 1 additions and 2 deletions
|
@ -11,7 +11,7 @@ import { Devs } from "@utils/constants";
|
|||
import definePlugin from "@utils/types";
|
||||
import { findComponentByCodeLazy } from "@webpack";
|
||||
import { ChannelStore, DateUtils, GuildStore, IconUtils, NavigationRouter, Popout, SnowflakeUtils, Text, UserStore, useStateFromStores } from "@webpack/common";
|
||||
import { Channel, Guild } from "discord-types/general";
|
||||
import { Guild } from "discord-types/general";
|
||||
|
||||
const ServerProfileComponent = findComponentByCodeLazy("{guildProfile:v,fetchGuildProfile:O,fetchStatus:I}");
|
||||
const cl = classNameFactory("vc-serverprofileforward-");
|
||||
|
@ -23,7 +23,6 @@ const checkForIconExistence = (guild: Guild) => {
|
|||
if (!guild.icon) return false;
|
||||
return true;
|
||||
};
|
||||
const isDM = (channel: Channel) => channel.flags === 1;
|
||||
|
||||
export default definePlugin({
|
||||
name: "MoreForwardMeta",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue