[#11889] Allow snding messages offline
This commit is contained in:
parent
3ccdee2b9d
commit
2c8276f353
|
@ -1294,7 +1294,6 @@
|
||||||
|
|
||||||
(re-frame/reg-sub
|
(re-frame/reg-sub
|
||||||
:chats/chat-toolbar
|
:chats/chat-toolbar
|
||||||
:<- [:disconnected?]
|
|
||||||
:<- [:multiaccounts/login]
|
:<- [:multiaccounts/login]
|
||||||
:<- [:chats/sending-image]
|
:<- [:chats/sending-image]
|
||||||
:<- [:mainnet?]
|
:<- [:mainnet?]
|
||||||
|
@ -1302,9 +1301,9 @@
|
||||||
:<- [:current-chat/metadata]
|
:<- [:current-chat/metadata]
|
||||||
:<- [:chats/reply-message]
|
:<- [:chats/reply-message]
|
||||||
:<- [:chats/edit-message]
|
:<- [:chats/edit-message]
|
||||||
(fn [[disconnected? {:keys [processing]} sending-image mainnet? one-to-one-chat? {:keys [public?]} reply edit]]
|
(fn [[{:keys [processing]} sending-image mainnet? one-to-one-chat? {:keys [public?]} reply edit]]
|
||||||
(let [sending-image (seq sending-image)]
|
(let [sending-image (seq sending-image)]
|
||||||
{:send (not (or processing disconnected?))
|
{:send (not processing)
|
||||||
:stickers (and mainnet?
|
:stickers (and mainnet?
|
||||||
(not sending-image)
|
(not sending-image)
|
||||||
(not reply))
|
(not reply))
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"_comment": "Instead use: scripts/update-status-go.sh <rev>",
|
"_comment": "Instead use: scripts/update-status-go.sh <rev>",
|
||||||
"owner": "status-im",
|
"owner": "status-im",
|
||||||
"repo": "status-go",
|
"repo": "status-go",
|
||||||
"version": "v0.89.18",
|
"version": "v0.89.20",
|
||||||
"commit-sha1": "4a0ad1cf69dada9569664cefee81f3cf7a9312ae",
|
"commit-sha1": "e940434becc1522eeb26c4ce5f98fc3bc6b273a3",
|
||||||
"src-sha256": "19rghmv0jqdw7l66rnib9001rxl2hszmkam2v0q4999x8qnj2jfl"
|
"src-sha256": "0y0139gbbpyfpsgv6fgrc0jhhkfd3b8ci7qcjjrgxgmdff65krl4"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue