damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 314774f032af249d13a7a6484b75fb1f56fd02de
parent 262bbf26ea282003356eeef2f5d8acc57510516f
Author: William Casarin <jb55@jb55.com>
Date:   Fri, 27 Sep 2024 13:52:58 -0700

fixup: 128 instead of 500

500 is excessive

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Mdamus/Views/SearchResultsView.swift | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/damus/Views/SearchResultsView.swift b/damus/Views/SearchResultsView.swift @@ -285,7 +285,7 @@ func search_profiles<Y>(profiles: Profiles, contacts: Contacts, search: String, return [pk] } - return profiles.search(search, limit: 500, txn: txn).sorted { a, b in + return profiles.search(search, limit: 128, txn: txn).sorted { a, b in let aFriendTypePriority = get_friend_type(contacts: contacts, pubkey: a)?.priority ?? 0 let bFriendTypePriority = get_friend_type(contacts: contacts, pubkey: b)?.priority ?? 0