revert(conversations): un-revert unread count feature flag removal

This reverts commit 87df43bdd0 from #14623, reapplying the conversation unread count feature flag removal from #14610.
This commit is contained in:
Sony Mathew
2026-06-02 22:39:46 +05:30
parent 0a181b0cea
commit 9db39b3029
18 changed files with 27 additions and 196 deletions
@@ -48,9 +48,6 @@ export const actions = {
// Ignore errors so the sidebar can continue rendering without badges.
}
},
clear({ commit }) {
commit(types.SET_CONVERSATION_UNREAD_COUNTS, {});
},
};
export const mutations = {
@@ -39,15 +39,4 @@ describe('#actions', () => {
expect(commit).not.toHaveBeenCalled();
});
});
describe('#clear', () => {
it('clears unread counts', () => {
actions.clear({ commit });
expect(commit).toHaveBeenCalledWith(
types.SET_CONVERSATION_UNREAD_COUNTS,
{}
);
});
});
});