From e006d4b550c657c8dfd8769b70463345ce24e30c Mon Sep 17 00:00:00 2001 From: Andrey Shovkoplyas Date: Wed, 4 Mar 2020 17:36:08 +0100 Subject: [PATCH] temporary fix for contacts signal Signed-off-by: Andrey Shovkoplyas --- src/status_im/transport/message/core.cljs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/status_im/transport/message/core.cljs b/src/status_im/transport/message/core.cljs index 30c6c288cf..a393ab616f 100644 --- a/src/status_im/transport/message/core.cljs +++ b/src/status_im/transport/message/core.cljs @@ -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)