fix remote tab lable update, Get.find always return the first instance

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2023-09-28 09:05:10 +08:00
parent bdb1fc2ed7
commit 6028cfc1a3
5 changed files with 4 additions and 25 deletions

View File

@@ -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)
}