Bugfix: Update conversation counters in realtime (#944)

* Bug: Update conversation counters in realtime
This commit is contained in:
Pranav Raj S
2020-06-09 16:26:33 +05:30
committed by GitHub
parent 602132119b
commit 40481f6462
11 changed files with 99 additions and 14 deletions

View File

@@ -236,6 +236,15 @@ const actions = {
//
}
},
getConversationStats: async ({ commit }, params) => {
try {
const response = await ConversationApi.meta(params);
commit(types.default.SET_CONV_TAB_META, response.data.meta);
} catch (error) {
// Ignore error
}
},
};
export default actions;