commit 8844764e0c26d552d384284d5f31b3f6be7b5a2b
parent 4a83d370d27021ca52222400fa6de0045ab61d3a
Author: William Casarin <jb55@jb55.com>
Date: Sun, 25 Dec 2022 12:48:55 -0800
images: also show inline images from friend-of-friends
Changelog-Changed: Also show inline images from friend-of-friends
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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