mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-12 19:06:13 +02:00
sciter/mobile id suffix "\r" or "/r" for relay
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
parent
8b3c4d3d64
commit
4b25291255
7 changed files with 38 additions and 13 deletions
|
@ -1453,10 +1453,12 @@ connectMainDesktop(String id,
|
|||
connect(BuildContext context, String id,
|
||||
{bool isFileTransfer = false,
|
||||
bool isTcpTunneling = false,
|
||||
bool isRDP = false,
|
||||
bool forceRelay = false}) async {
|
||||
bool isRDP = false}) async {
|
||||
if (id == '') return;
|
||||
id = id.replaceAll(' ', '');
|
||||
final oldId = id;
|
||||
id = await bind.mainHandleRelayId(id: id);
|
||||
final forceRelay = id != oldId;
|
||||
assert(!(isFileTransfer && isTcpTunneling && isRDP),
|
||||
"more than one connect type");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue