Skip to content

Commit

Permalink
Rectify Case 3 (see FreeTubeApp#3668)
Browse files Browse the repository at this point in the history
  • Loading branch information
kommunarr committed Apr 14, 2024
1 parent f7652b5 commit 9bf8108
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ export default defineComponent({
return
}

// clear timestamp if not all entries are present in the cache
this.updateLastCommunityRefreshTimestampByProfile({ profileId: this.activeProfileId, timestamp: '' })
this.maybeLoadPostsForSubscriptionsFromRemote()
},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ export default defineComponent({
return
}

// clear timestamp if not all entries are present in the cache
this.updateLastLiveRefreshTimestampByProfile({ profileId: this.activeProfileId, timestamp: '' })
this.maybeLoadVideosForSubscriptionsFromRemote()
},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ export default defineComponent({
return
}

// clear timestamp if not all entries are present in the cache
this.updateLastShortRefreshTimestampByProfile({ profileId: this.activeProfileId, timestamp: '' })
this.maybeLoadVideosForSubscriptionsFromRemote()
},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,8 @@ export default defineComponent({
return
}

// clear timestamp if not all entries are present in the cache
this.updateLastVideoRefreshTimestampByProfile({ profileId: this.activeProfileId, timestamp: '' })
this.maybeLoadVideosForSubscriptionsFromRemote()
},

Expand Down

0 comments on commit 9bf8108

Please sign in to comment.