1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-06-04 20:34:10 +02:00

sort user timeline by date (#3210)

This commit is contained in:
MeiMei
2018-11-13 01:17:59 +09:00
committed by syuilo
parent 50824a7245
commit 81805b01cc
7 changed files with 19 additions and 13 deletions

View File

@@ -27,7 +27,8 @@ export default Vue.extend({
this.$root.api('users/notes', {
userId: this.user.id,
withFiles: true,
limit: 9
limit: 9,
untilDate: new Date().getTime() + 1000 * 86400 * 365
}).then(notes => {
notes.forEach(note => {
note.files.forEach(file => {