feat: 💨

This commit is contained in:
codytseng
2025-02-03 21:12:30 +08:00
parent 699f3a792d
commit 97ccb3cb7c

View File

@@ -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[]
)