Handle other feed auth response (#2012)
parent
60886b76c8
commit
cf1b0b1881
|
@ -181,6 +181,9 @@ export function useIsFeedPublicQuery({uri}: {uri: string}) {
|
||||||
|
|
||||||
if (msg.includes('missing jwt')) {
|
if (msg.includes('missing jwt')) {
|
||||||
return false
|
return false
|
||||||
|
} else if (msg.includes('This feed requires being logged-in')) {
|
||||||
|
// e.g. https://github.com/bluesky-social/atproto/blob/99ab1ae55c463e8d5321a1eaad07a175bdd56fea/packages/bsky/src/feed-gen/best-of-follows.ts#L13
|
||||||
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
return true
|
return true
|
||||||
|
|
Loading…
Reference in New Issue