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