mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-01-19 00:13:01 +08:00
Merge pull request #4097 from unglazed/feat-link-allow-password
add password handling in uni links handler
This commit is contained in:
commit
6bf0abe44e
@ -1599,8 +1599,9 @@ bool callUniLinksUriHandler(Uri uri) {
|
||||
final peerId = uri.path.substring("/new/".length);
|
||||
var param = uri.queryParameters;
|
||||
String? switch_uuid = param["switch_uuid"];
|
||||
String? password = param["password"];
|
||||
Future.delayed(Duration.zero, () {
|
||||
rustDeskWinManager.newRemoteDesktop(peerId, switch_uuid: switch_uuid);
|
||||
rustDeskWinManager.newRemoteDesktop(peerId, password: password, switch_uuid: switch_uuid);
|
||||
});
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user