From 3efc79224fd96f6c8b92a31197afe45e9937dd6c Mon Sep 17 00:00:00 2001 From: Nico Date: Fri, 16 Dec 2022 15:51:23 +0100 Subject: [ShowHiddenChannels] Fix last message date (#342) --- src/webpack/common.tsx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/webpack') diff --git a/src/webpack/common.tsx b/src/webpack/common.tsx index 81bea31..42db758 100644 --- a/src/webpack/common.tsx +++ b/src/webpack/common.tsx @@ -76,6 +76,9 @@ export const TextArea = findByCodeLazy("handleSetRef", "textArea") as React.Comp export const Select = LazyComponent(() => findByCode("optionClassName", "popoutPosition", "autoFocus", "maxVisibleItems")); export const Slider = LazyComponent(() => findByCode("closestMarkerIndex", "stickToMarkers")); +export let SnowflakeUtils: { fromTimestamp: (timestamp: number) => string, extractTimestamp: (snowflake: string) => number }; +waitFor(["fromTimestamp", "extractTimestamp"], m => SnowflakeUtils = m); + export let Parser: any; export let Alerts: { show(alert: { -- cgit