don't fetch chats twice

This commit is contained in:
Henry Jameson 2026-06-16 16:48:08 +03:00
commit 7c3bab0070

View file

@ -59,7 +59,6 @@ const chatsModule = {
// Chat list
startFetchingChats({ dispatch, commit }) {
const fetcher = () => dispatch('fetchChats', { latest: true })
fetcher()
commit('setChatListFetcher', {
fetcher: () => promiseInterval(fetcher, 5000),
})