Commit 3c6a74b7 authored by Maxime Buquet's avatar Maxime Buquet
Browse files

Merge branch 'skip-whitespace-ping-log' into 'master'

Skip whitespace ping logging

See merge request !75
parents 3f297195 9da6f532
......@@ -1510,6 +1510,10 @@ class HandlerCore:
# Most of the time what gets logged is whitespace pings. Skip.
# And also skip tab updates.
if stanza.strip() != '':
return None
log.debug('', exc_info=True)
if isinstance(self.core.tabs.current_tab, tabs.XMLTab):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment