Merge branch 'issue-392-other-user-stale-data' into 'develop'

#392: stale data served to new user account

Closes #392

See merge request pleroma/pleroma-fe!625
This commit is contained in:
Shpuld Shpludson 2019-03-07 16:33:22 +00:00
commit 09b0f6dd87
4 changed files with 37 additions and 19 deletions

View file

@ -295,6 +295,8 @@ const users = {
store.commit('setToken', false)
store.dispatch('stopFetching', 'friends')
store.commit('setBackendInteractor', backendInteractorService())
store.dispatch('stopFetchingNotifications')
store.commit('resetStatuses')
},
loginUser (store, accessToken) {
return new Promise((resolve, reject) => {