diff options
Diffstat (limited to 'src/state/models/feeds/posts.ts')
-rw-r--r-- | src/state/models/feeds/posts.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/state/models/feeds/posts.ts b/src/state/models/feeds/posts.ts index d33dce192..cbff707d0 100644 --- a/src/state/models/feeds/posts.ts +++ b/src/state/models/feeds/posts.ts @@ -485,6 +485,9 @@ export class PostsFeedModel { * Used by the composer to add their new posts */ async addPostToTop(uri: string) { + if (!this.slices.length) { + return this.refresh() + } try { const res = await this.rootStore.agent.app.bsky.feed.getPosts({ uris: [uri], |