This commit is contained in:
syuilo 2017-12-21 02:20:02 +09:00
parent fb09710b62
commit c378e5fc94
24 changed files with 135 additions and 135 deletions

View file

@ -101,7 +101,7 @@
});
this.api('posts/mentions', {
following: this.mode == 'following',
max_id: this.refs.timeline.tail().id
until_id: this.refs.timeline.tail().id
}).then(posts => {
this.update({
moreLoading: false

View file

@ -86,7 +86,7 @@
});
this.api('posts/timeline', {
max_date: this.date ? this.date.getTime() : undefined
until_date: this.date ? this.date.getTime() : undefined
}).then(posts => {
this.update({
isLoading: false,
@ -103,7 +103,7 @@
moreLoading: true
});
this.api('posts/timeline', {
max_id: this.refs.timeline.tail().id
until_id: this.refs.timeline.tail().id
}).then(posts => {
this.update({
moreLoading: false

View file

@ -283,7 +283,7 @@
this.api('i/notifications', {
limit: max + 1,
max_id: this.notifications[this.notifications.length - 1].id
until_id: this.notifications[this.notifications.length - 1].id
}).then(notifications => {
if (notifications.length == max + 1) {
this.moreNotifications = true;

View file

@ -96,7 +96,7 @@
this.fetch = cb => {
this.api('users/posts', {
user_id: this.user.id,
max_date: this.date ? this.date.getTime() : undefined,
until_date: this.date ? this.date.getTime() : undefined,
with_replies: this.mode == 'with-replies'
}).then(posts => {
this.update({
@ -116,7 +116,7 @@
this.api('users/posts', {
user_id: this.user.id,
with_replies: this.mode == 'with-replies',
max_id: this.refs.timeline.tail().id
until_id: this.refs.timeline.tail().id
}).then(posts => {
this.update({
moreLoading: false