Skip to content

Commit

Permalink
temporary fix for contacts signal
Browse files Browse the repository at this point in the history
Signed-off-by: Andrey Shovkoplyas <motor4ik@gmail.com>
  • Loading branch information
flexsurfer committed Mar 5, 2020
1 parent de53581 commit 9b1150d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/status_im/transport/message/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@
(seq contacts)
(let [contact (.pop contacts)]
(fx/merge cofx
{:utils/dispatch-later [{:ms 20 :dispatch [::process response-js]}]}
;;TODO temporary fix for release, we have and issue with contacts updates , UI is really slow
;;we need to inspect all subsctiptions and views, but for now to temporary make it better
;; we use dispatch instead dispatch-later
{:dispatch [::process response-js]}
(handle-contact (-> contact (types/js->clj) (data-store.contacts/<-rpc)))))

(seq chats)
Expand Down

0 comments on commit 9b1150d

Please sign in to comment.