From 8844764e0c26d552d384284d5f31b3f6be7b5a2b Mon Sep 17 00:00:00 2001 From: William Casarin Date: Sun, 25 Dec 2022 12:48:55 -0800 Subject: [PATCH] images: also show inline images from friend-of-friends Changelog-Changed: Also show inline images from friend-of-friends --- damus/Views/EventView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/damus/Views/EventView.swift b/damus/Views/EventView.swift index 2138757e..a17e3635 100644 --- a/damus/Views/EventView.swift +++ b/damus/Views/EventView.swift @@ -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