[fix #] pass network-status to account app-db

when login offline the offline gray box was not shown in chat-list
and the fix in #2314 would not work in that case
This commit is contained in:
Eric Dvorsak 2018-01-08 16:35:41 +01:00
parent 156089b07b
commit c0ba70c28a
No known key found for this signature in database
GPG Key ID: 932AC1CE5F05DE0C
1 changed files with 4 additions and 3 deletions

View File

@ -245,7 +245,7 @@
(register-handler-db
:initialize-account-db
(fn [{:keys [accounts/accounts contacts/contacts networks/networks
network view-id navigation-stack chats
network network-status view-id navigation-stack chats
access-scope->commands-responses layout-height
status-module-initialized? status-node-started?]
:or [network (get app-db :network)]
@ -266,6 +266,7 @@
:accounts/accounts accounts
:accounts/creating-account? false
:networks/networks networks
:network-status network-status
:network network)
console-contact
(assoc :contacts/contacts {console-chat-id console-contact})))))