fix scrolling
This commit is contained in:
parent
cb7d3d7079
commit
a7e55b5200
|
@ -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[]) => {
|
||||
|
|
Loading…
Reference in New Issue