From 357e46248e68f8bd00cfa4be2f9d9929ab4aded6 Mon Sep 17 00:00:00 2001 From: Chewbacca Date: Mon, 7 Nov 2022 15:40:19 -0500 Subject: [PATCH] Always refetch and re-hydrate the Chat --- app/soapbox/queries/chats.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/soapbox/queries/chats.ts b/app/soapbox/queries/chats.ts index d9a2b70bf..1a496582b 100644 --- a/app/soapbox/queries/chats.ts +++ b/app/soapbox/queries/chats.ts @@ -195,6 +195,7 @@ const useChat = (chatId?: string) => { }; return useQuery(ChatKeys.chat(chatId), getChat, { + cacheTime: 0, enabled: !!chatId, }); };