Fix clj kondo warnings in subs.cljs

This commit is contained in:
Roman Volosovskyi 2021-09-03 11:13:42 +03:00
parent 031d44c554
commit efff6d3997
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
1 changed files with 2 additions and 2 deletions

View File

@ -688,7 +688,7 @@
:account-by-address
:<- [:multiaccount/accounts]
(fn [accounts [_ address]]
(when (and (string? address))
(when (string? address)
(some #(when (= (string/lower-case (:address %))
(string/lower-case address)) %) accounts))))
@ -1234,7 +1234,7 @@
:<- [:chats/edit-message]
(fn [[disconnected? {:keys [processing]} sending-image mainnet? one-to-one-chat? {:keys [public?]} reply edit]]
(let [sending-image (seq sending-image)]
{:send (and (not (or processing disconnected?)))
{:send (not (or processing disconnected?))
:stickers (and mainnet?
(not sending-image)
(not reply))