mirror of
https://github.com/tooot-app/app
synced 2025-01-03 13:10:23 +01:00
Fix #659
This commit is contained in:
parent
58c96c4c08
commit
e5e74410d0
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "tooot",
|
||||
"version": "4.8.2",
|
||||
"version": "4.8.3",
|
||||
"description": "tooot for Mastodon",
|
||||
"author": "xmflsct <me@xmflsct.com>",
|
||||
"license": "GPL-3.0-or-later",
|
||||
|
@ -11,7 +11,7 @@ import apiInstance from '@utils/api/instance'
|
||||
import { featureCheck } from '@utils/helpers/featureCheck'
|
||||
import { useNavState } from '@utils/navigation/navigators'
|
||||
import { queryClient } from '@utils/queryHooks'
|
||||
import { getAccountStorage } from '@utils/storage/actions'
|
||||
import { getAccountStorage, setAccountStorage } from '@utils/storage/actions'
|
||||
import { AxiosError } from 'axios'
|
||||
import { uniqBy } from 'lodash'
|
||||
import { searchLocalStatus } from './search'
|
||||
@ -85,6 +85,11 @@ export const queryFunctionTimeline = async ({
|
||||
url: 'timelines/home',
|
||||
params
|
||||
}).then(res => {
|
||||
if (marker && !res.body.length) {
|
||||
setAccountStorage([{ key: 'read_marker_following', value: undefined }])
|
||||
return Promise.reject()
|
||||
}
|
||||
|
||||
if (!page.showBoosts || !page.showReplies) {
|
||||
return {
|
||||
...res,
|
||||
|
Loading…
Reference in New Issue
Block a user