add Akkoma compatibility (tested on IceShrimp)

This commit is contained in:
Henry Jameson 2025-06-16 14:57:34 +03:00
commit f36f11045e
13 changed files with 28 additions and 12 deletions

View file

@ -281,6 +281,7 @@ const api = {
// Bookmark folders
startFetchingBookmarkFolders (store) {
if (store.state.fetchers.bookmarkFolders) return
if (!store.rootState.instance.pleromaBookmarkFoldersAvailable) return
const fetcher = store.state.backendInteractor.startFetchingBookmarkFolders({ store })
store.commit('addFetcher', { fetcherName: 'bookmarkFolders', fetcher })
},