mirror of
https://github.com/AMNatty/Mastodon-Circles.git
synced 2024-11-25 04:27:27 -07:00
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:
parent
69fac1cc40
commit
fc16ce0640
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ class MastodonApiClient extends ApiClient {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
return response["ancestors"].map(note => {
|
return response["descendants"].map(note => {
|
||||||
let handle = parseHandle(note["account"]["acct"], noteIn.instance);
|
let handle = parseHandle(note["account"]["acct"], noteIn.instance);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Reference in a new issue