Merge branch 'information_popup' into 'master'

Replace information_popup_type_filter occurences with correct naming

See merge request poezio/poezio!4
This commit is contained in:
Link Mauve 2018-07-01 18:30:15 +02:00
commit 29b10b6c2b
2 changed files with 3 additions and 2 deletions

View file

@ -653,7 +653,7 @@ or the way messages are displayed.
A list of message types that should make the information buffer grow
Possible values: ``error``, ``roster``, ``warning``, ``info``, ``help``
information_popup_type_filter
information_buffer_type_filter
**Default value:** ``[empty]``

View file

@ -1429,7 +1429,8 @@ class Core(object):
filter_types = config.get('information_buffer_type_filter').split(':')
if typ.lower() in filter_types:
log.debug(
'Did not show the message:\n\t%s> %s \n\tdue to information_popup_type_filter configuration',
'Did not show the message:\n\t%s> %s \n\tdue to '
'information_buffer_type_filter configuration',
typ, msg)
return False
filter_messages = config.get('filter_info_messages').split(':')