From 19b05cd4e83c7ca6cbedb5fe7a30e82df45ad7e2 Mon Sep 17 00:00:00 2001 From: Roland Osborne Date: Tue, 26 Apr 2022 12:54:41 -0700 Subject: [PATCH] fixed resetting of topics --- net/web/src/User/Conversation/useConversation.hook.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/web/src/User/Conversation/useConversation.hook.js b/net/web/src/User/Conversation/useConversation.hook.js index 0569903e..d6caa8d7 100644 --- a/net/web/src/User/Conversation/useConversation.hook.js +++ b/net/web/src/User/Conversation/useConversation.hook.js @@ -104,7 +104,7 @@ export function useConversation() { } useEffect(() => { - if (id.current.channelId != channelId || id.current.cardId) { + if (id.current.channelId != channelId || id.current.cardId != cardId) { id.current = { cardId, channelId }; topics.current = new Map(); revision.current = null;