don't fetch chats twice
This commit is contained in:
parent
9d8a52be5b
commit
7c3bab0070
1 changed files with 0 additions and 1 deletions
|
|
@ -59,7 +59,6 @@ const chatsModule = {
|
|||
// Chat list
|
||||
startFetchingChats({ dispatch, commit }) {
|
||||
const fetcher = () => dispatch('fetchChats', { latest: true })
|
||||
fetcher()
|
||||
commit('setChatListFetcher', {
|
||||
fetcher: () => promiseInterval(fetcher, 5000),
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue