8

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.

top 1 comments
sorted by: hot top controversial new old
[-] DieguiTux8623@feddit.it 3 points 3 months ago

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

this post was submitted on 03 Mar 2024
8 points (90.0% liked)

Voyager

5270 readers
41 users here now

The official lemmy community for Voyager, an open source, mobile-first client for lemmy.

Download on App Store

Download on Play Store

Use as a Web App

Download on F-Droid

Rules

  1. Be nice.
  2. lemmy.world instance policy

Sponsor development! ๐Ÿ‘‡

Number of sponsors badge

๐Ÿ’™

founded 1 year ago
MODERATORS