From 9aae366a37338cb32ed0d0a9ce5280e632b4bcf2 Mon Sep 17 00:00:00 2001 From: Wolfgang Müller Date: Mon, 3 May 2021 15:13:22 +0200 Subject: Remove the INFO message type Quassel uses this message type only for very rare and mostly irrelevant informational messages that users will most likely not be wanting to search for. --- quarg/quassel/formatter.py | 2 +- quarg/quassel/types.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/quarg/quassel/formatter.py b/quarg/quassel/formatter.py index 51eec00..603e113 100644 --- a/quarg/quassel/formatter.py +++ b/quarg/quassel/formatter.py @@ -109,7 +109,7 @@ FORMATTERS = { MessageType.KICK: format_kick, MessageType.KILL: format_kill, MessageType.SERVER: format_generic, - MessageType.INFO: format_generic, + # MessageType.INFO: format_generic, MessageType.ERROR: format_generic, # MessageType.DAYCHANGE: format_generic, MessageType.TOPIC: format_generic, diff --git a/quarg/quassel/types.py b/quarg/quassel/types.py index 9648287..0ba5a11 100644 --- a/quarg/quassel/types.py +++ b/quarg/quassel/types.py @@ -37,7 +37,7 @@ class MessageType(Enum): KICK = 0x100 KILL = 0x200 SERVER = 0x400 - INFO = 0x800 + # INFO = 0x800 ERROR = 0x1000 # DAYCHANGE = 0x2000 TOPIC = 0x4000 -- cgit v1.2.3-2-gb3c3