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])
|
||||
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)))))
|
||||
|
||||
(fx/defn add-filter
|
||||
|
|
Loading…
Reference in New Issue