[#10084] Make commands in chat available on Ropsten for e2e builds

Signed-off-by: Churikova Tetiana <churikova.tm@gmail.com>
This commit is contained in:
Andrey Shovkoplyas 2020-02-28 14:59:26 +01:00 committed by Churikova Tetiana
parent 4d0fd4389e
commit 5301d421f2
No known key found for this signature in database
GPG Key ID: 0D4EA7B33B47E6D8
3 changed files with 3 additions and 1 deletions

View File

@ -20,3 +20,4 @@ CONTRACT_NODES=1
MOBILE_UI_FOR_DESKTOP=1
BLANK_PREVIEW=0
TOOLTIP_EVENTS=1
COMMANDS_ENABLED=1

View File

@ -173,7 +173,7 @@
[input-view {:single-line-input? single-line-input? :set-text set-text :state-text state-text}]
(when (and input-text-empty? mainnet?)
[stickers/button (= :stickers input-bottom-sheet)])
(when (and one-to-one-chat? input-text-empty? mainnet?)
(when (and one-to-one-chat? input-text-empty? (or config/commands-enabled? mainnet?))
[extensions/button (= :extensions input-bottom-sheet)])
(when-not input-text-empty?
(if platform/desktop?

View File

@ -38,6 +38,7 @@
(def tooltip-events? (enabled? (get-config :TOOLTIP_EVENTS "0")))
(def nimbus-enabled? (enabled? (get-config :STATUS_GO_ENABLE_NIMBUS "0")))
(def waku-enabled? (enabled? (get-config :WAKU_ENABLED "0")))
(def commands-enabled? (enabled? (get-config :COMMANDS_ENABLED "0")))
;; CONFIG VALUES
(def log-level