From 084c86eb0e826266d34f1f3e84a2816db0ee4008 Mon Sep 17 00:00:00 2001 From: William Casarin Date: Sat, 22 Apr 2023 11:15:45 -0700 Subject: [PATCH] Only show friends, not friend-of-friend in friend filter Changelog-Changed: Only show friends, not friend-of-friend in friend filter --- damus/Views/Notifications/NotificationsView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/damus/Views/Notifications/NotificationsView.swift b/damus/Views/Notifications/NotificationsView.swift index 151c8d05..848ab3f3 100644 --- a/damus/Views/Notifications/NotificationsView.swift +++ b/damus/Views/Notifications/NotificationsView.swift @@ -28,7 +28,7 @@ enum FriendFilter: String, StringCodable { case .all: return true case .friends: - return contacts.is_in_friendosphere(pubkey) + return contacts.is_friend_or_self(pubkey) } } }