diff options
author | Vendicated <vendicated@riseup.net> | 2022-11-12 00:29:36 +0100 |
---|---|---|
committer | Vendicated <vendicated@riseup.net> | 2022-11-12 00:29:36 +0100 |
commit | 838032846515827cf2971588889e551d29f44886 (patch) | |
tree | 351c4fcbb314a51431cbacf1bfb717f70d969ddf /src/webpack | |
parent | 30ca4f1cf9cc1a4179f5c7ef5cfb47eaff83f56a (diff) | |
download | Vencord-838032846515827cf2971588889e551d29f44886.tar.gz Vencord-838032846515827cf2971588889e551d29f44886.tar.bz2 Vencord-838032846515827cf2971588889e551d29f44886.zip |
InteractionKeybinds: Scroll to message if offscreen
Closes https://github.com/Vendicated/Vencord/issues/200
Diffstat (limited to 'src/webpack')
-rw-r--r-- | src/webpack/common.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/webpack/common.tsx b/src/webpack/common.tsx index b5c2c2f..8c77506 100644 --- a/src/webpack/common.tsx +++ b/src/webpack/common.tsx @@ -32,7 +32,7 @@ export const Flux = lazyWebpack(filters.byProps("connectStores")); export let React: typeof import("react"); export const ReactDOM: typeof import("react-dom") = lazyWebpack(filters.byProps("createPortal", "render")); -export const MessageStore = lazyWebpack(filters.byProps("getRawMessages")) as Stores.MessageStore; +export const MessageStore = lazyWebpack(filters.byProps("getRawMessages")) as Omit<Stores.MessageStore, "getMessages"> & { getMessages(chanId: string): any; }; export let GuildStore: Stores.GuildStore; export let UserStore: Stores.UserStore; export let SelectedChannelStore: Stores.SelectedChannelStore; |