If adding the user's post when empty, just refresh (#530)
This commit is contained in:
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user