mirror of
https://github.com/NicolasConstant/sengi
synced 2025-02-07 13:53:26 +01:00
fix mention loading
This commit is contained in:
parent
b0234435d4
commit
08dd0025c9
@ -42,6 +42,7 @@ export class MentionsComponent extends TimelineBase {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.isLoading = false;
|
||||
}
|
||||
|
||||
ngOnDestroy(): void {
|
||||
@ -81,6 +82,7 @@ export class MentionsComponent extends TimelineBase {
|
||||
}
|
||||
|
||||
protected getNextStatuses(): Promise<Status[]> {
|
||||
console.warn('MENTIONS get next status');
|
||||
return this.mastodonService.getNotifications(this.account, ['follow', 'favourite', 'reblog', 'poll'], this.lastId)
|
||||
.then((result: Notification[]) => {
|
||||
const statuses = result.map(x => x.status);
|
||||
|
Loading…
x
Reference in New Issue
Block a user