mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-04 18:55:56 +02:00
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user