no-more-proxy #3

Merged
CenTdemeern1 merged 12 commits from no-more-proxy into main 2025-02-03 00:03:51 +00:00
Showing only changes of commit 28a4ac2ca3 - Show all commits

View file

@ -101,7 +101,7 @@ async fn find_icon(host: &str) -> Option<String> {
icons
.into_iter()
.filter_map(|i| -> Option<InstanceIcon> { i.try_into().ok() })
.filter(|i| i.size > MINIMUM_ICON_SIZE)
.filter(|i| i.size >= MINIMUM_ICON_SIZE)
.min_by_key(|i| i.size)
.map(|i| i.href)
}