Skip to content

Commit

Permalink
#2060: Fixed mistake in contacts-synced handler
Browse files Browse the repository at this point in the history
  • Loading branch information
alwx authored and rasom committed Oct 11, 2017
1 parent d7b7862 commit d71e7a3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/status_im/chat/events/sign_up.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,11 @@
::contacts-synced
[re-frame/trim-v (re-frame/inject-cofx :random-id)]
(fn [{:keys [db random-id] :as cofx} [contacts]]
(-> db
(-> {:db db}
(as-> fx
(merge fx
(accounts-events/account-update (assoc cofx :db (:db fx)) {:signed-up? true})
{:dispatch (sign-up/contacts-synchronised-event random-id)})))))
(merge fx
(accounts-events/account-update (assoc cofx :db (:db fx)) {:signed-up? true})
{:dispatch (sign-up/contacts-synchronised-event random-id)})))))

(handlers/register-handler-fx
::http-request-failure
Expand Down

0 comments on commit d71e7a3

Please sign in to comment.