summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-11-12 21:46:18 +0100
committermathieui <mathieui@mathieui.net>2014-11-12 21:46:18 +0100
commitc2f9ffff33c28a6860094d0e115f83cb1dab3be7 (patch)
treee1f133817294f060594829b53e884d4607e58631
parent6924f55d294dd84519abffe3a2f04dbc0ac09ba2 (diff)
parent20487e46b7f05b9c92c0be66c916d8d059a187f9 (diff)
downloadpoezio-c2f9ffff33c28a6860094d0e115f83cb1dab3be7.tar.gz
poezio-c2f9ffff33c28a6860094d0e115f83cb1dab3be7.tar.bz2
poezio-c2f9ffff33c28a6860094d0e115f83cb1dab3be7.tar.xz
poezio-c2f9ffff33c28a6860094d0e115f83cb1dab3be7.zip
Merge branch 'master' of git.poez.io:poezio into slix
-rw-r--r--src/tabs/basetabs.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tabs/basetabs.py b/src/tabs/basetabs.py
index 645a297f..0a55640c 100644
--- a/src/tabs/basetabs.py
+++ b/src/tabs/basetabs.py
@@ -804,6 +804,9 @@ class OneToOneTab(ChatTab):
else:
self.__initial_disco = True
+ if not (correct or attention or receipts):
+ return # don’t display anything
+
ok = get_theme().CHAR_OK
nope = get_theme().CHAR_EMPTY