mirror of
https://github.com/kunkundi/crossdesk.git
synced 2026-10-28 16:54:11 +08:00
[feat] integrate IP direct mode with desktop controls and history
This commit is contained in:
@@ -744,6 +744,8 @@ std::string SettingsManager::RecentConnectionDisplayName(
|
||||
connection.remote_host_name != "unknown") {
|
||||
return connection.remote_host_name;
|
||||
}
|
||||
if (!connection.lan.device_id.empty())
|
||||
return connection.lan.address + ":" + std::to_string(connection.lan.port);
|
||||
return connection.remote_id;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user