                              ;; NOTE(oskarth): Overwriting default contacts here
                              ;;(remove #(identities (:whisper-identity %)))
                              (map #(vector (:whisper-identity %) %))
-                             (into {})) 
+                             (into {}))
           fx            {:db              (update db :contacts/contacts merge new-contacts')
                          ::save-contacts! (vals new-contacts')}]
       (transduce (map second)

           :bot-url          bot-url
           :description      description
           :dapp-hash        dapp-hash})
        all-default-contacts (conj default-contacts console-chat/contact)] 
    [[:add-contacts all-default-contacts]]))

(defn- prepare-add-chat-events [contacts default-contacts]

      {:dispatch-n [[::add-new-contact contact']
                    [:watch-contact contact']
                    [:discoveries-send-portions chat-or-whisper-id]]})))

(register-handler-fx
  :add-pending-contact-and-open-chat
  (fn [_ [_ whisper-id]]
    {:dispatch-n [[:add-pending-contact whisper-id]
                  [:start-chat whisper-id {:navigation-replace? true}]]}))

(register-handler-db
  :set-contact-identity-from-qr
