Skip to content
Snippets Groups Projects
Commit d8d25073 authored by HJ's avatar HJ :fire:
Browse files

Merge branch 'tusooa/1266-reload-user-pinned' into 'develop'

Fix pinned statuses gone when reloading user timeline

Closes #1266

See merge request pleroma/pleroma-fe!1847
parents cc0a6373 35d3b8f2
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 = {
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()
......
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