fix: set initial disconnected status
This commit is contained in:
parent
9654f937f2
commit
90236e89e9
|
@ -32,6 +32,9 @@ include event_handling
|
||||||
include signal_handling
|
include signal_handling
|
||||||
|
|
||||||
proc init*(self: ChatController) =
|
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.handleMailserverEvents()
|
||||||
self.handleChatEvents()
|
self.handleChatEvents()
|
||||||
self.status.mailservers.init()
|
self.status.mailservers.init()
|
||||||
|
|
Loading…
Reference in New Issue