mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 19:44:47 +00:00
Dont set a chat-id on discovery-filters
Signed-off-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
This commit is contained in:
parent
49035af201
commit
3469a3d899
@ -66,7 +66,9 @@
|
|||||||
{:options (cond-> (assoc params :topics [topic])
|
{:options (cond-> (assoc params :topics [topic])
|
||||||
minPow
|
minPow
|
||||||
(assoc :minPow minPow))
|
(assoc :minPow minPow))
|
||||||
:callback (or callback (partial receive-message chat-id))
|
;; We don't pass a chat id on discovery-filters as we might receive
|
||||||
|
;; messages for multiple chats
|
||||||
|
:callback (or callback (partial receive-message nil))
|
||||||
:chat-id chat-id}) topics)))))
|
:chat-id chat-id}) topics)))))
|
||||||
|
|
||||||
(fx/defn add-filter
|
(fx/defn add-filter
|
||||||
|
Loading…
x
Reference in New Issue
Block a user