Skip to content
Snippets Groups Projects
Verified Commit 35d3b8f2 authored by tusooa's avatar tusooa :zap:
Browse files

Fix pinned statuses gone when reloading user timeline

parent 510392e4
No related branches found
No related tags found
No related merge requests found
Fix pinned statuses gone when reloading user timeline
...@@ -160,6 +160,9 @@ const Timeline = { ...@@ -160,6 +160,9 @@ const Timeline = {
if (this.timeline.flushMarker !== 0) { if (this.timeline.flushMarker !== 0) {
this.$store.commit('clearTimeline', { timeline: this.timelineName, excludeUserId: true }) this.$store.commit('clearTimeline', { timeline: this.timelineName, excludeUserId: true })
this.$store.commit('queueFlush', { timeline: this.timelineName, id: 0 }) this.$store.commit('queueFlush', { timeline: this.timelineName, id: 0 })
if (this.timelineName === 'user') {
this.$store.dispatch('fetchPinnedStatuses', this.userId)
}
this.fetchOlderStatuses() this.fetchOlderStatuses()
} else { } else {
this.blockClicksTemporarily() this.blockClicksTemporarily()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment