summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2020-05-12 23:28:09 +0200
committermathieui <mathieui@mathieui.net>2020-05-12 23:28:09 +0200
commitafc6da052ef073c433386d311fc3b24241ea202a (patch)
tree4528da150cb8a7556ec7841f27d861578ed220dd
parentef38ff8f6a7ef813a6b4ab9edad458b4b7e9941f (diff)
downloadpoezio-afc6da052ef073c433386d311fc3b24241ea202a.tar.gz
poezio-afc6da052ef073c433386d311fc3b24241ea202a.tar.bz2
poezio-afc6da052ef073c433386d311fc3b24241ea202a.tar.xz
poezio-afc6da052ef073c433386d311fc3b24241ea202a.zip
Fix a bug when the value of show_composing_chat_state is not lowercase
-rw-r--r--poezio/core/handlers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/core/handlers.py b/poezio/core/handlers.py
index 8ed861af..01fb6062 100644
--- a/poezio/core/handlers.py
+++ b/poezio/core/handlers.py
@@ -1784,7 +1784,7 @@ def _composing_tab_state(tab, state):
else:
return # should not happen
- show = config.get('show_composing_tabs')
+ show = config.get('show_composing_tabs').lower()
show = show in values
if tab.state != 'composing' and state == 'composing':