Not starting the sync thread in offline mode

This commit is contained in:
Kai S. K. Engelbart 2019-12-14 11:02:01 +01:00
parent 2eb9c79106
commit fb3b53efd8

View File

@ -238,6 +238,8 @@ public class ChatWindow extends JFrame {
contentPane.revalidate();
loadUsersAndChats();
if(client.isOnline())
startSyncThread(Config.getInstance().getSyncTimeout());
contentPane.revalidate();