diff --git a/src/plugins/bypassDND/index.tsx b/src/plugins/bypassDND/index.tsx index 620aebde4..72a5dcf7d 100644 --- a/src/plugins/bypassDND/index.tsx +++ b/src/plugins/bypassDND/index.tsx @@ -9,7 +9,7 @@ import { DataStore, Notifications } from "@api/index"; import { definePluginSettings } from "@api/Settings"; import { Devs } from "@utils/constants"; import definePlugin, { OptionType } from "@utils/types"; -import { ChannelStore, Menu, NavigationRouter, PresenceStore, PrivateChannelsStore, UserStore } from "@webpack/common"; +import { ChannelStore, Menu, MessageStore, NavigationRouter, PresenceStore, PrivateChannelsStore, UserStore } from "@webpack/common"; import { type Channel, type Guild, type Message, type User } from "discord-types/general"; interface ContextProps { @@ -90,6 +90,7 @@ const ChannelContext: NavContextMenuPatchCallback = (children, { channel }: Cont const UserContext: NavContextMenuPatchCallback = (children, { user }: ContextProps) => () => { const enabled = bypasses.users.includes(user.id); + if (user.id === UserStore.getCurrentUser().id) return; children.splice(-1, 0, (