MessageNotifier: Correct Dir
This commit is contained in:
parent
d48ea7e303
commit
670a7abe47
2 changed files with 2 additions and 3 deletions
|
|
@ -54,7 +54,7 @@ export default definePlugin({
|
|||
Notifications.showNotification({
|
||||
title: `${username} sent a message`,
|
||||
body: `Click to jump to ${locationName}`,
|
||||
onClick() {
|
||||
onClick() {
|
||||
NavigationRouter.transitionTo(`/channels/${guild?.id ?? "@me"}/${channel.id}/${message.id}`);
|
||||
},
|
||||
});
|
||||
|
|
@ -10,7 +10,7 @@ import { PaintbrushIcon } from "@components/Icons";
|
|||
import { EquicordDevs } from "@utils/constants";
|
||||
import { closeModal, openModal } from "@utils/modal";
|
||||
import definePlugin from "@utils/types";
|
||||
import { extractAndLoadChunksLazy, findLazy, findStoreLazy } from "@webpack";
|
||||
import { extractAndLoadChunksLazy, findStoreLazy } from "@webpack";
|
||||
import { ChannelStore, DraftType, FluxDispatcher, Menu, SelectedChannelStore, UploadHandler } from "@webpack/common";
|
||||
|
||||
import RemixModal from "./RemixModal";
|
||||
|
|
@ -19,7 +19,6 @@ import css from "./styles.css?managed";
|
|||
const requireCreateStickerModal = extractAndLoadChunksLazy(["stickerInspected]:"]);
|
||||
const requireSettingsMenu = extractAndLoadChunksLazy(['name:"UserSettings"'], /createPromise:.{0,20}(\i\.\i\("?.+?"?\).*?).then\(\i\.bind\(\i,"?(.+?)"?\)\).{0,50}"UserSettings"/);
|
||||
|
||||
const CloudUpload = findLazy(m => m.prototype?.trackUploadFinished);
|
||||
const PendingReplyStore = findStoreLazy("PendingReplyStore");
|
||||
const validMediaTypes = ["image/png", "image/jpeg", "image/jpg", "image/webp"];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue