mastodon: fix replies processing ancestors not descendants

Fixes a mix-up from 15579d7e78.
Since replies are omitted from the gathered notes, this effectively
removed reply evaluation from Mastodon API, but instead added the
author of quoted posts as well as replies to the quoted post to the
circle.
This commit is contained in:
Oneric 2023-07-20 13:27:47 +02:00
parent 69fac1cc40
commit fc16ce0640

View file

@ -223,7 +223,7 @@ class MastodonApiClient extends ApiClient {
return null;
}
return response["ancestors"].map(note => {
return response["descendants"].map(note => {
let handle = parseHandle(note["account"]["acct"], noteIn.instance);
return {