search: switch to nostrdb profile searching
Changelog-Changed: Switch to nostrdb for @'s and user search
This commit is contained in:
1 parent
fafe3b4b3e
commit
7a85ae29ca
11 files changed
+325
-33
No files matched your search
@@ -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