mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-12-12 11:06:57 +00:00
enable force-always-relay option for address book and accessible devices
This commit is contained in:
@@ -1065,7 +1065,9 @@ class AddressBookPeerCard extends BasePeerCard {
|
|||||||
menuItems.add(_tcpTunnelingAction(context));
|
menuItems.add(_tcpTunnelingAction(context));
|
||||||
}
|
}
|
||||||
// menuItems.add(await _openNewConnInOptAction(peer.id));
|
// menuItems.add(await _openNewConnInOptAction(peer.id));
|
||||||
// menuItems.add(await _forceAlwaysRelayAction(peer.id));
|
if (!isWeb) {
|
||||||
|
menuItems.add(await _forceAlwaysRelayAction(peer.id));
|
||||||
|
}
|
||||||
if (isWindows && peer.platform == kPeerPlatformWindows) {
|
if (isWindows && peer.platform == kPeerPlatformWindows) {
|
||||||
menuItems.add(_rdpAction(context, peer.id));
|
menuItems.add(_rdpAction(context, peer.id));
|
||||||
}
|
}
|
||||||
@@ -1198,7 +1200,9 @@ class MyGroupPeerCard extends BasePeerCard {
|
|||||||
menuItems.add(_tcpTunnelingAction(context));
|
menuItems.add(_tcpTunnelingAction(context));
|
||||||
}
|
}
|
||||||
// menuItems.add(await _openNewConnInOptAction(peer.id));
|
// menuItems.add(await _openNewConnInOptAction(peer.id));
|
||||||
// menuItems.add(await _forceAlwaysRelayAction(peer.id));
|
if (!isWeb) {
|
||||||
|
menuItems.add(await _forceAlwaysRelayAction(peer.id));
|
||||||
|
}
|
||||||
if (isWindows && peer.platform == kPeerPlatformWindows) {
|
if (isWindows && peer.platform == kPeerPlatformWindows) {
|
||||||
menuItems.add(_rdpAction(context, peer.id));
|
menuItems.add(_rdpAction(context, peer.id));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user