Merge pull request #4872 from rustdesk/revert-4869-fix
Revert "remove cm use peer info as title"
This commit is contained in:
commit
b52661083c
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user