force relay when id is suffixed with "/r"

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2023-02-13 16:40:24 +08:00
parent 759c1901a5
commit 6f106251f9
15 changed files with 127 additions and 63 deletions

View File

@@ -70,6 +70,7 @@ class _ConnectionTabPageState extends State<ConnectionTabPage> {
id: peerId,
menubarState: _menubarState,
switchUuid: params['switch_uuid'],
forceRelay: params['forceRelay'],
),
));
_update_remote_count();
@@ -104,6 +105,7 @@ class _ConnectionTabPageState extends State<ConnectionTabPage> {
id: id,
menubarState: _menubarState,
switchUuid: switchUuid,
forceRelay: args['forceRelay'],
),
));
} else if (call.method == "onDestroy") {