Not starting the sync thread in offline mode
This commit is contained in:
		@@ -238,7 +238,9 @@ public class ChatWindow extends JFrame {
 | 
			
		||||
		contentPane.revalidate();
 | 
			
		||||
 | 
			
		||||
		loadUsersAndChats();
 | 
			
		||||
		startSyncThread(Config.getInstance().getSyncTimeout());
 | 
			
		||||
		
 | 
			
		||||
		if(client.isOnline())
 | 
			
		||||
			startSyncThread(Config.getInstance().getSyncTimeout());
 | 
			
		||||
 | 
			
		||||
		contentPane.revalidate();
 | 
			
		||||
	}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user