fix: set initial disconnected status

This commit is contained in:
Richard Ramos 2020-07-23 10:58:30 -04:00 committed by Iuri Matias
parent 9654f937f2
commit 90236e89e9
1 changed files with 3 additions and 0 deletions

View File

@ -32,6 +32,9 @@ include event_handling
include signal_handling
proc init*(self: ChatController) =
# Initial state is disconnected and will change as soon as there's a peer
self.view.setConnected(false)
self.handleMailserverEvents()
self.handleChatEvents()
self.status.mailservers.init()