mirror of
https://github.com/NicolasConstant/sengi
synced 2025-02-03 03:47:35 +01:00
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…
x
Reference in New Issue
Block a user