Revert "remove cm use peer info as title"

This commit is contained in:
RustDesk
2023-07-05 10:56:54 +08:00
committed by GitHub
parent f47a5600b1
commit b41c6be341

View File

@@ -101,6 +101,11 @@ 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;