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