aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/quarg/quassel/formatter.py
diff options
context:
space:
mode:
authorWolfgang Müller2021-04-28 20:04:59 +0200
committerWolfgang Müller2021-04-28 20:15:53 +0200
commite351c9321ccb7fd66afe38241e5e123118a338a4 (patch)
treee7587093eee1492aa16e51db99fe1d7d9d0cfd43 /quarg/quassel/formatter.py
parent5a99ca2ca6f78e94b36a52543139930705af56a9 (diff)
downloadquarg-e351c9321ccb7fd66afe38241e5e123118a338a4.tar.gz
types: Ignore unused or nonsensical types and flags
As this program interacts with quassel's database only, it does not have access to any state the UI carries. Some types (such as DAYCHANGE, IGNORED, BACKLOG, GROUP) seem to not be represented in the database at all, most likely only set on data structures in memory by the quasselclient application. Some others make no real sense to include in an application like this, which is more focused on human-readable messages and circumstances. For example, INVALID, REDIRECTED, SERVERMSG, etc are all of less concern to the average user than, say, matching on nicknames or buffers. Therefore, ignore all of these until we find a good use for them.
Diffstat (limited to 'quarg/quassel/formatter.py')
-rw-r--r--quarg/quassel/formatter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/quarg/quassel/formatter.py b/quarg/quassel/formatter.py
index 9c89970..b6235e8 100644
--- a/quarg/quassel/formatter.py
+++ b/quarg/quassel/formatter.py
@@ -109,7 +109,7 @@ FORMATTERS = {
MessageType.SERVER: format_generic,
MessageType.INFO: format_generic,
MessageType.ERROR: format_generic,
- MessageType.DAYCHANGE: format_generic,
+ # MessageType.DAYCHANGE: format_generic,
MessageType.TOPIC: format_generic,
MessageType.NETSPLIT_JOIN: partial(format_netsplit, True),
MessageType.NETSPLIT_QUIT: partial(format_netsplit, False),