Fix pinned statuses gone when reloading user timeline

このコミットが含まれているのは:
tusooa 2023-07-18 19:06:00 -04:00
コミット 35d3b8f27d
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: 42AEC43D48433C51
2個のファイルの変更4行の追加0行の削除

1
changelog.d/reload-user-pinned.fix ノーマルファイル
ファイルの表示

@ -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()