public favorites check

This commit is contained in:
Henry Jameson 2025-06-17 09:37:19 +03:00
commit 78c92e15d6

View file

@ -211,6 +211,7 @@ const api = {
statusId = false, statusId = false,
bookmarkFolderId = false bookmarkFolderId = false
}) { }) {
if (timeline === 'favourites' && !store.rootState.instance.pleromaPublicFavouritesAvailable) return
if (store.state.fetchers[timeline]) return if (store.state.fetchers[timeline]) return
const fetcher = store.state.backendInteractor.startFetchingTimeline({ const fetcher = store.state.backendInteractor.startFetchingTimeline({