mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-14 00:11:29 +03:00
fix logOut failing, add invoking logOut before id server change
This commit is contained in:
@@ -261,6 +261,9 @@ void showServerSettingsWithValue(String id, String relay, String key,
|
||||
});
|
||||
if (await validate()) {
|
||||
if (id != id0) {
|
||||
if (id0.isNotEmpty) {
|
||||
await gFFI.userModel.logOut();
|
||||
}
|
||||
bind.mainSetOption(key: "custom-rendezvous-server", value: id);
|
||||
}
|
||||
if (relay != relay0) {
|
||||
|
||||
Reference in New Issue
Block a user