From 838032846515827cf2971588889e551d29f44886 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Sat, 12 Nov 2022 00:29:36 +0100 Subject: InteractionKeybinds: Scroll to message if offscreen Closes https://github.com/Vendicated/Vencord/issues/200 --- src/webpack/common.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/webpack/common.tsx') 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 & { getMessages(chanId: string): any; }; export let GuildStore: Stores.GuildStore; export let UserStore: Stores.UserStore; export let SelectedChannelStore: Stores.SelectedChannelStore; -- cgit