friendfilter: extend to friend-of-friends
Suggested-by: Semisol
This commit is contained in:
1 parent
85e14de12d
commit
9d87bc11dd
1 file changed
+1
-1
@@ -28,7 +28,7 @@ enum FriendFilter: String, StringCodable {
|
|||||||
case .all:
|
case .all:
|
||||||
return true
|
return true
|
||||||
case .friends:
|
case .friends:
|
||||||
return contacts.is_friend_or_self(pubkey)
|
return contacts.is_in_friendosphere(pubkey)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user