aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/quarg/actions.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/actions.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/actions.py')
-rw-r--r--quarg/actions.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/quarg/actions.py b/quarg/actions.py
index 9dd6c49..e1fbc57 100644
--- a/quarg/actions.py
+++ b/quarg/actions.py
@@ -6,9 +6,6 @@ import dateutil.relativedelta
from quarg.quassel.types import BufferType, MessageFlag, MessageType
from quarg.utils import errx, parse_isodate
-# TODO Find out what to do about passing INVALID or GROUP as BufferType
-# TODO Find out what to do about passing various message flags
-
# pylint: disable=too-few-public-methods, unsupported-membership-test
class ParseEnum(argparse.Action, metaclass=ABCMeta):