Skip to content

Commit 0ca3998

Browse files
committed
android: hide sharee peers from device list
1 parent 17c3085 commit 0ca3998

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

android/src/main/java/com/tailscale/ipn/ui/util/PeerHelper.kt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ class PeerCategorizer {
3333
val userId = peer.User
3434
val profile = netmap.userProfile(userId)
3535

36+
// Sharee peers exist for shared-device return-path connectivity, but they
37+
// should stay hidden from the normal device list.
38+
if (peer.Hostinfo.ShareeNode == true) {
39+
continue
40+
}
41+
3642
// Mullvad nodes should not be shown in the peer list
3743
if (peer.isMullvadNode) {
3844
continue

0 commit comments

Comments
 (0)