Fix pinned statuses gone when reloading user timeline
This commit is contained in:
parent
510392e4ca
commit
35d3b8f27d
1
changelog.d/reload-user-pinned.fix
Normal file
1
changelog.d/reload-user-pinned.fix
Normal file
@ -0,0 +1 @@
|
||||
Fix pinned statuses gone when reloading user timeline
|
@ -160,6 +160,9 @@ const Timeline = {
|
||||
if (this.timeline.flushMarker !== 0) {
|
||||
this.$store.commit('clearTimeline', { timeline: this.timelineName, excludeUserId: true })
|
||||
this.$store.commit('queueFlush', { timeline: this.timelineName, id: 0 })
|
||||
if (this.timelineName === 'user') {
|
||||
this.$store.dispatch('fetchPinnedStatuses', this.userId)
|
||||
}
|
||||
this.fetchOlderStatuses()
|
||||
} else {
|
||||
this.blockClicksTemporarily()
|
||||
|
Loading…
Reference in New Issue
Block a user