diff --git a/src/app/components/floating-column/manage-account/direct-messages/direct-messages.component.ts b/src/app/components/floating-column/manage-account/direct-messages/direct-messages.component.ts index 34c434b1..7f2bedc3 100644 --- a/src/app/components/floating-column/manage-account/direct-messages/direct-messages.component.ts +++ b/src/app/components/floating-column/manage-account/direct-messages/direct-messages.component.ts @@ -84,7 +84,8 @@ export class DirectMessagesComponent implements OnInit { private scrolledToBottom() { if (this.isLoading || this.maxReached) return; - const maxId = this.conversations[this.conversations.length - 1].conversation.id; + const maxId = this.conversations[this.conversations.length - 1].conversation.last_status.id; + this.isLoading = true; this.mastodonService.getConversations(this.account.info, maxId) .then((conversations: Conversation[]) => {