diff --git a/src/controllers/ConversationListController.tsx b/src/controllers/ConversationListController.tsx index 83906bdf..b36c509f 100644 --- a/src/controllers/ConversationListController.tsx +++ b/src/controllers/ConversationListController.tsx @@ -25,18 +25,17 @@ export const ConversationListController = ({ useStreamAllMessages(); const recipientInput = useXmtpStore((s) => s.recipientInput); - const changedConsentCount = useXmtpStore((s) => s.changedConsentCount); const activeTab = useXmtpStore((s) => s.activeTab); // when the conversations are loaded, update their identities useEffect(() => { const runUpdate = async () => { if (isLoaded) { - await updateConversationIdentities(conversations, db); + await updateConversationIdentities(activeConversations, db); } }; void runUpdate(); - }, [isLoaded, activeTab, changedConsentCount, conversations, db]); + }, [activeConversations, db, isLoaded]); useEffect(() => { const getActiveConversations = async () => {