|
|
@ -502,6 +502,7 @@ const users = {
|
|
|
|
store.dispatch('stopFetchingTimeline', 'friends')
|
|
|
|
store.dispatch('stopFetchingTimeline', 'friends')
|
|
|
|
store.commit('setBackendInteractor', backendInteractorService(store.getters.getToken()))
|
|
|
|
store.commit('setBackendInteractor', backendInteractorService(store.getters.getToken()))
|
|
|
|
store.dispatch('stopFetchingNotifications')
|
|
|
|
store.dispatch('stopFetchingNotifications')
|
|
|
|
|
|
|
|
store.dispatch('stopFetchingLists')
|
|
|
|
store.dispatch('stopFetchingFollowRequests')
|
|
|
|
store.dispatch('stopFetchingFollowRequests')
|
|
|
|
store.commit('clearNotifications')
|
|
|
|
store.commit('clearNotifications')
|
|
|
|
store.commit('resetStatuses')
|
|
|
|
store.commit('resetStatuses')
|
|
|
@ -556,6 +557,12 @@ const users = {
|
|
|
|
store.dispatch('startFetchingChats')
|
|
|
|
store.dispatch('startFetchingChats')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
store.dispatch('startFetchingLists')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (user.locked) {
|
|
|
|
|
|
|
|
store.dispatch('startFetchingFollowRequests')
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (store.getters.mergedConfig.useStreamingApi) {
|
|
|
|
if (store.getters.mergedConfig.useStreamingApi) {
|
|
|
|
store.dispatch('fetchTimeline', 'friends', { since: null })
|
|
|
|
store.dispatch('fetchTimeline', 'friends', { since: null })
|
|
|
|
store.dispatch('fetchNotifications', { since: null })
|
|
|
|
store.dispatch('fetchNotifications', { since: null })
|
|
|
|