summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/core/handlers.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/poezio/core/handlers.py b/poezio/core/handlers.py
index c8d08441..620d854c 100644
--- a/poezio/core/handlers.py
+++ b/poezio/core/handlers.py
@@ -1510,6 +1510,10 @@ class HandlerCore:
poezio_colored,
nickname=char)
except:
+ # 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):