I am struggling to find which Lemmy API to call for such use case, I wanted to emulate this feature in a small project of mine.

Looking at the source code of Voyager it seems it just makes a GET comment/list (with the Subscribed feed type) and filters the results a posteriori based on the community ids, which does not seem to work if I reproduce locally and is not efficient if the user has a lot of subscriptions to many communities, so it must be done in some other way because Voyager does it instantly.

If anyone knows the answer, any help is appreciated.

  • DieguiTux8623@feddit.itOP
    link
    fedilink
    English
    arrow-up
    3
    ·
    9 months ago

    I just realized that the listing type to use is ModeratorView… sorry for the question, solved by myself.