Comments: Fix page title not updating when clicking back (#2877)

This commit is contained in:
Alexander Zinchuk 2023-03-30 18:25:37 -05:00
parent ceef2fb4db
commit 7845ed4e1e

View File

@ -83,6 +83,7 @@ addActionHandler('openChatInNewTab', (global, actions, payload): ActionReturnTyp
addActionHandler('openPreviousChat', (global, actions, payload): ActionReturnType => {
const { tabId = getCurrentTabId() } = payload || {};
actions.updatePageTitle({ tabId });
return updateCurrentMessageList(global, undefined, undefined, undefined, undefined, undefined, tabId);
});