diff --git a/lib/shared/thread-utils.js b/lib/shared/thread-utils.js --- a/lib/shared/thread-utils.js +++ b/lib/shared/thread-utils.js @@ -1296,7 +1296,7 @@ const callFetchMostRecentMessages = useFetchMostRecentMessages(); const threadID = threadInfo?.id; - const threadNotInChatList = !threadInChatList(threadInfo); + const threadNotInChatList = !useThreadInChatList(threadInfo); React.useEffect(() => { if (threadID && threadNotInChatList) { threadWatcher.watchID(threadID);