From 2c8276f35327c975fae4e51d00b6ceea88a087c6 Mon Sep 17 00:00:00 2001 From: Roman Volosovskyi Date: Thu, 11 Nov 2021 16:31:09 +0200 Subject: [PATCH] [#11889] Allow snding messages offline --- src/status_im/subs.cljs | 5 ++--- status-go-version.json | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/status_im/subs.cljs b/src/status_im/subs.cljs index 11b3235bbf..f419fa195a 100644 --- a/src/status_im/subs.cljs +++ b/src/status_im/subs.cljs @@ -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)) diff --git a/status-go-version.json b/status-go-version.json index b7a8cd2a92..8c58d2545f 100644 --- a/status-go-version.json +++ b/status-go-version.json @@ -3,7 +3,7 @@ "_comment": "Instead use: scripts/update-status-go.sh ", "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" }