[fix] query-chat-contacts subscription params
Signed-off-by: yenda <eric@status.im>
This commit is contained in:
parent
cf15789e2a
commit
b119facb2a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue