fix filtres typo
This commit is contained in:
parent
661cd04e74
commit
7255664990
|
@ -31,7 +31,7 @@
|
||||||
create-identity
|
create-identity
|
||||||
add-identity
|
add-identity
|
||||||
stop-listener
|
stop-listener
|
||||||
stop-watching-filtres]]
|
stop-watching-filters]]
|
||||||
[status-im.protocol.handler :refer [handle-incoming-whisper-msg]
|
[status-im.protocol.handler :refer [handle-incoming-whisper-msg]
|
||||||
:as handler]
|
:as handler]
|
||||||
[status-im.protocol.user-handler :refer [invoke-user-handler]]
|
[status-im.protocol.user-handler :refer [invoke-user-handler]]
|
||||||
|
@ -85,7 +85,7 @@
|
||||||
:address "no-address"} parameters))
|
:address "no-address"} parameters))
|
||||||
([{:keys [public-key] :as account} {:keys [handler ethereum-rpc-url storage identity active-group-ids]}]
|
([{:keys [public-key] :as account} {:keys [handler ethereum-rpc-url storage identity active-group-ids]}]
|
||||||
(when (seq (state/get-all-filters))
|
(when (seq (state/get-all-filters))
|
||||||
(stop-watching-filtres))
|
(stop-watching-filters))
|
||||||
(set-storage storage)
|
(set-storage storage)
|
||||||
(set-handler handler)
|
(set-handler handler)
|
||||||
(go
|
(go
|
||||||
|
|
|
@ -135,7 +135,7 @@
|
||||||
(.stopWatching filter)
|
(.stopWatching filter)
|
||||||
(state/remove-filter topics)))))
|
(state/remove-filter topics)))))
|
||||||
|
|
||||||
(defn stop-watching-filtres []
|
(defn stop-watching-filters []
|
||||||
(doseq [filter (state/get-all-filters)]
|
(doseq [filter (state/get-all-filters)]
|
||||||
(.stopWatching filter))
|
(.stopWatching filter))
|
||||||
(state/remove-all-filters))
|
(state/remove-all-filters))
|
||||||
|
|
Loading…
Reference in New Issue