diff --git a/matrix/commands.py b/matrix/commands.py index 848a016..99b6889 100644 --- a/matrix/commands.py +++ b/matrix/commands.py @@ -124,7 +124,8 @@ class WeechatCommandParser(object): "blacklisted", "private", "unverified", - "verified" + "verified", + "ignored" ]) info_parser.add_argument("filter", nargs="?") @@ -631,6 +632,14 @@ def olm_info_command(server, args): olm.is_device_blacklisted ) + elif args.category == "ignored": + print_devices( + olm.device_store, + args.filter, + "Ignored", + olm.is_device_ignored + ) + def olm_action_command(server, args, category, error_category, prefix, action): device_store = server.client.olm.device_store