mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
fix remote tab lable update, Get.find always return the first instance
Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
@@ -823,11 +823,6 @@ pub fn main_set_peer_option_sync(id: String, key: String, value: String) -> Sync
|
||||
}
|
||||
|
||||
pub fn main_set_peer_alias(id: String, alias: String) {
|
||||
main_broadcast_message(&HashMap::from([
|
||||
("name", "alias"),
|
||||
("id", &id),
|
||||
("alias", &alias),
|
||||
]));
|
||||
set_peer_option(id, "alias".to_owned(), alias)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user