diff options
Diffstat (limited to 'src/client/app/desktop/views/pages/user/user.timeline.vue')
| -rw-r--r-- | src/client/app/desktop/views/pages/user/user.timeline.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/app/desktop/views/pages/user/user.timeline.vue b/src/client/app/desktop/views/pages/user/user.timeline.vue index affa1f11f4..9b673a2bfd 100644 --- a/src/client/app/desktop/views/pages/user/user.timeline.vue +++ b/src/client/app/desktop/views/pages/user/user.timeline.vue @@ -63,7 +63,7 @@ export default Vue.extend({ this.$root.api('users/notes', { userId: this.user.id, limit: fetchLimit + 1, - untilDate: this.date ? this.date.getTime() : undefined, + untilDate: this.date ? this.date.getTime() : new Date().getTime() + 1000 * 86400 * 365, includeReplies: this.mode == 'with-replies', withFiles: this.mode == 'with-media' }).then(notes => { @@ -86,7 +86,7 @@ export default Vue.extend({ limit: fetchLimit + 1, includeReplies: this.mode == 'with-replies', withFiles: this.mode == 'with-media', - untilId: (this.$refs.timeline as any).tail().id + untilDate: new Date((this.$refs.timeline as any).tail().createdAt).getTime() }); promise.then(notes => { |