forked from AkkomaGang/akkoma-fe
show immediately pinned statuses
This commit is contained in:
parent
a601337a20
commit
f8186bfc74
1 changed files with 1 additions and 1 deletions
|
@ -539,7 +539,7 @@ const statuses = {
|
||||||
},
|
},
|
||||||
fetchPinnedStatuses ({ rootState, dispatch }, userId) {
|
fetchPinnedStatuses ({ rootState, dispatch }, userId) {
|
||||||
rootState.api.backendInteractor.fetchPinnedStatuses(userId)
|
rootState.api.backendInteractor.fetchPinnedStatuses(userId)
|
||||||
.then(statuses => dispatch('addNewStatuses', { statuses, timeline: 'user', userId }))
|
.then(statuses => dispatch('addNewStatuses', { statuses, timeline: 'user', userId, showImmediately: true }))
|
||||||
},
|
},
|
||||||
pinStatus ({ rootState, commit }, statusId) {
|
pinStatus ({ rootState, commit }, statusId) {
|
||||||
return rootState.api.backendInteractor.pinOwnStatus(statusId)
|
return rootState.api.backendInteractor.pinOwnStatus(statusId)
|
||||||
|
|
Loading…
Reference in a new issue