aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2023-08-22 20:37:48 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2023-08-22 20:37:48 +0000
commitd8d2507303812961f33f6f7bb3d198d4cc6cc5d0 (patch)
treeb57ae4be2987e6ca0890942b9b8b8b6e59963e3f /src
parentcc0a63736a159bc03b77bbd4c62a684d1294e3d2 (diff)
parent35d3b8f27dace6efd5aab8915b2025d16bb7e7e7 (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/components/timeline/timeline.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/timeline/timeline.js b/src/components/timeline/timeline.js
index b7414610..1050b87a 100644
--- a/src/components/timeline/timeline.js
+++ b/src/components/timeline/timeline.js
@@ -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()