[#11889] Allow snding messages offline

This commit is contained in:
Roman Volosovskyi 2021-11-11 16:31:09 +02:00
parent 3ccdee2b9d
commit 2c8276f353
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
2 changed files with 5 additions and 6 deletions

View File

@ -1294,7 +1294,6 @@
(re-frame/reg-sub
:chats/chat-toolbar
:<- [:disconnected?]
:<- [:multiaccounts/login]
:<- [:chats/sending-image]
:<- [:mainnet?]
@ -1302,9 +1301,9 @@
:<- [:current-chat/metadata]
:<- [:chats/reply-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)]
{:send (not (or processing disconnected?))
{:send (not processing)
:stickers (and mainnet?
(not sending-image)
(not reply))

View File

@ -3,7 +3,7 @@
"_comment": "Instead use: scripts/update-status-go.sh <rev>",
"owner": "status-im",
"repo": "status-go",
"version": "v0.89.18",
"commit-sha1": "4a0ad1cf69dada9569664cefee81f3cf7a9312ae",
"src-sha256": "19rghmv0jqdw7l66rnib9001rxl2hszmkam2v0q4999x8qnj2jfl"
"version": "v0.89.20",
"commit-sha1": "e940434becc1522eeb26c4ce5f98fc3bc6b273a3",
"src-sha256": "0y0139gbbpyfpsgv6fgrc0jhhkfd3b8ci7qcjjrgxgmdff65krl4"
}