aboutsummaryrefslogtreecommitdiff
path: root/src/webpack/common/utils.ts
diff options
context:
space:
mode:
authorV <vendicated@riseup.net>2023-04-15 04:42:18 +0200
committerGitHub <noreply@github.com>2023-04-15 04:42:18 +0200
commit88ad4f1b0597a06695aae4166fb8ac1024f31c4c (patch)
tree7b77998146f62bc87e70b59d3a8a4309b12d1f7d /src/webpack/common/utils.ts
parentf75f88786118640dd72b40adf587a725493aa8a0 (diff)
downloadVencord-88ad4f1b0597a06695aae4166fb8ac1024f31c4c.tar.gz
Vencord-88ad4f1b0597a06695aae4166fb8ac1024f31c4c.tar.bz2
Vencord-88ad4f1b0597a06695aae4166fb8ac1024f31c4c.zip
SendTimestamps (#891)
Co-authored-by: Tyler Flowers <contact@ggtylerr.dev>
Diffstat (limited to 'src/webpack/common/utils.ts')
-rw-r--r--src/webpack/common/utils.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/webpack/common/utils.ts b/src/webpack/common/utils.ts
index 2c2af54..3893a3a 100644
--- a/src/webpack/common/utils.ts
+++ b/src/webpack/common/utils.ts
@@ -23,6 +23,7 @@ import { _resolveReady, filters, findByCodeLazy, findByPropsLazy, findLazy, mapM
import type * as t from "./types/utils";
export let FluxDispatcher: t.FluxDispatcher;
+export const ComponentDispatch = findLazy(m => m.emitter?._events?.INSERT_TEXT);
export const RestAPI: t.RestAPI = findByPropsLazy("getAPIBaseURL", "get");
export const moment: typeof import("moment") = findByPropsLazy("parseTwoDigitYear");