Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemmy.buzz
pythorhead·PythörheadbyHorseFD

Help listing only subscribed communities

Hi, I'm looking for a bit of help getting a list of communities the authenticated user is subscribed to.

I'm getting the list like this:

communities = lemmy.community.list(type_=ListingType.Subscribed)

However despite specifying the _type as ListingType.Subscribed, I'm still getting back a list that includes items with the value:

'subscribed': 'NotSubscribed'

It's very possible that I'm interpreting how this works wrong, so if someone has any tips for doing this I'd be very appreciate.

Thanks!

View original on lemmy.buzz
4

No replies yet

No comments on the original post yet.