diff options
Diffstat (limited to 'src/state/models/feeds/posts.ts')
-rw-r--r-- | src/state/models/feeds/posts.ts | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/state/models/feeds/posts.ts b/src/state/models/feeds/posts.ts index 911cc6309..02ef5f38b 100644 --- a/src/state/models/feeds/posts.ts +++ b/src/state/models/feeds/posts.ts @@ -436,9 +436,6 @@ export class PostsFeedModel { } else if (this.feedType === 'home') { return this.rootStore.agent.getTimeline(params as GetTimeline.QueryParams) } else if (this.feedType === 'custom') { - this.checkIfCustomFeedIsOnlineAndValid( - params as GetCustomFeed.QueryParams, - ) return this.rootStore.agent.app.bsky.feed.getFeed( params as GetCustomFeed.QueryParams, ) @@ -448,18 +445,4 @@ export class PostsFeedModel { ) } } - - private async checkIfCustomFeedIsOnlineAndValid( - params: GetCustomFeed.QueryParams, - ) { - const res = await this.rootStore.agent.app.bsky.feed.getFeedGenerator({ - feed: params.feed, - }) - if (!res.data.isOnline || !res.data.isValid) { - runInAction(() => { - this.error = - 'This custom feed is not online or may be experiencing issues.' - }) - } - } } |