images: also show inline images from friend-of-friends

Changelog-Changed: Also show inline images from friend-of-friends
This commit is contained in:
William Casarin
2022-12-25 12:48:55 -08:00
parent 4a83d370d2
commit 8844764e0c

View File

@@ -161,7 +161,7 @@ struct EventView: View {
// blame the porn bots for this code
func should_show_images(contacts: Contacts, ev: NostrEvent) -> Bool {
if contacts.is_friend(ev.pubkey) {
if contacts.is_in_friendosphere(ev.pubkey) {
return true
}
return false