search: switch to nostrdb profile searching
Changelog-Changed: Switch to nostrdb for @'s and user search
This commit is contained in:
@@ -17,7 +17,8 @@ struct UserSearch: View {
|
||||
@EnvironmentObject var tagModel: TagModel
|
||||
|
||||
var users: [Pubkey] {
|
||||
return search_profiles(profiles: damus_state.profiles, search: search)
|
||||
let txn = NdbTxn(ndb: damus_state.ndb)
|
||||
return search_profiles(profiles: damus_state.profiles, search: search, txn: txn)
|
||||
}
|
||||
|
||||
func on_user_tapped(pk: Pubkey) {
|
||||
|
||||
Reference in New Issue
Block a user