Browse Source

feat: 💨

imwald
codytseng 1 year ago
parent
commit
97ccb3cb7c
  1. 2
      src/services/client.service.ts

2
src/services/client.service.ts

@ -505,7 +505,7 @@ class ClientService extends EventTarget { @@ -505,7 +505,7 @@ class ClientService extends EventTarget {
}
async searchProfilesFromIndex(query: string) {
const result = await this.userIndex.searchAsync(query, { limit: 10 })
const result = await this.userIndex.searchAsync(query, { limit: 100 })
return Promise.all(result.map((pubkey) => this.fetchProfile(pubkey as string))).then(
(profiles) => profiles.filter(Boolean) as TProfile[]
)

Loading…
Cancel
Save