Merge pull request #4869 from 21pages/fix

remove cm use peer info as title
This commit is contained in:
RustDesk 2023-07-05 09:24:24 +08:00 committed by GitHub
commit f47a5600b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -101,11 +101,6 @@ class ConnectionManagerState extends State<ConnectionManager> {
final client_id = int.tryParse(client_id_str);
if (client_id != null) {
gFFI.chatModel.changeCurrentID(client_id);
final client =
gFFI.serverModel.clients.firstWhereOrNull((e) => e.id == client_id);
if (client != null) {
windowManager.setTitle(getWindowNameWithId(client.peerId));
}
}
};
gFFI.chatModel.isConnManager = true;