diff --git a/web/redux/redux-setup.js b/web/redux/redux-setup.js --- a/web/redux/redux-setup.js +++ b/web/redux/redux-setup.js @@ -328,7 +328,7 @@ oldActiveThread !== activeThread && state.messageStore.threads[activeThread] ) { - // Update messageStore.threads[activeThread].lastNavigatedTo + const now = Date.now(); state = { ...state, messageStore: { @@ -337,10 +337,17 @@ ...state.messageStore.threads, [activeThread]: { ...state.messageStore.threads[activeThread], - lastNavigatedTo: Date.now(), + lastNavigatedTo: now, }, }, }, + threadActivityStore: { + ...state.threadActivityStore, + [activeThread]: { + ...state.threadActivityStore[activeThread], + lastNavigatedTo: now, + }, + }, }; }