From b119facb2ad72e47ba5dde1b2986830cad3637f8 Mon Sep 17 00:00:00 2001 From: yenda Date: Mon, 19 Nov 2018 15:28:42 +0100 Subject: [PATCH] [fix] query-chat-contacts subscription params Signed-off-by: yenda --- src/status_im/contact/subs.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/status_im/contact/subs.cljs b/src/status_im/contact/subs.cljs index f0f353a972..a1f81359b1 100644 --- a/src/status_im/contact/subs.cljs +++ b/src/status_im/contact/subs.cljs @@ -92,7 +92,7 @@ :query-current-chat-contacts :<- [:get-current-chat] :<- [:get-contacts] - (fn [[chat contacts [_ query-fn]]] + (fn [[chat contacts] [_ query-fn]] (contact.db/query-chat-contacts chat contacts query-fn))) (re-frame/reg-sub @@ -116,7 +116,7 @@ (fn [[_ _ chat-id] _] [(re-frame/subscribe [:get-chat chat-id]) (re-frame/subscribe [:get-contacts])]) - (fn [[chat all-contacts [_ query-fn]]] + (fn [[chat all-contacts] [_ query-fn]] (contact.db/query-chat-contacts chat all-contacts query-fn))) (re-frame/reg-sub