diff options
author | mathieui <mathieui@mathieui.net> | 2014-11-12 21:45:07 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2014-11-12 21:45:52 +0100 |
commit | 20487e46b7f05b9c92c0be66c916d8d059a187f9 (patch) | |
tree | daf9184b4399564deea52a87740ac3fdeb58382d /src/tabs | |
parent | 1ff6b40e200cbfa9417707d83b036c49a4805cca (diff) | |
download | poezio-20487e46b7f05b9c92c0be66c916d8d059a187f9.tar.gz poezio-20487e46b7f05b9c92c0be66c916d8d059a187f9.tar.bz2 poezio-20487e46b7f05b9c92c0be66c916d8d059a187f9.tar.xz poezio-20487e46b7f05b9c92c0be66c916d8d059a187f9.zip |
Don’t display a feature check of the remote party if it doesn’t support anything
it’s confusing.
Diffstat (limited to 'src/tabs')
-rw-r--r-- | src/tabs/basetabs.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tabs/basetabs.py b/src/tabs/basetabs.py index 1b6e0d4c..f684a08f 100644 --- a/src/tabs/basetabs.py +++ b/src/tabs/basetabs.py @@ -817,6 +817,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 |