From 99995f49fb719f003b7ee079cdf39df7be02aecd Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Thu, 14 Nov 2024 16:06:27 -0600 Subject: [PATCH] Add comment --- src/state/queries/messages/list-converations.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/state/queries/messages/list-converations.tsx b/src/state/queries/messages/list-converations.tsx index 7eeea78690..df52f05136 100644 --- a/src/state/queries/messages/list-converations.tsx +++ b/src/state/queries/messages/list-converations.tsx @@ -177,6 +177,11 @@ export function ListConvosProviderInner({ }), } } else { + /** + * We received a message from an conversation old enough that + * it doesn't exist in the query cache, meaning we need to + * refetch and bump the old convo to the top. + */ debouncedRefetch() } })