emersion / emersion/mako

BUG: Summary matching is not working

Open
#448 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
3.3k
Forks
173
PR merge metrics
No merged PRs in 30d

Description

## Overview

When specified a CRITERIA with `app-name` and `summary` to ignore the notifications with `invisible` option, nothing happens. Other options (like `format`) are not working too.

### Enviroment
```
nix-repl> pkgs.mako.version
"1.7.1"
```

### Reproduction steps

1. Add this to the configuration
```ini
[app-name=qBittorrent summary="I/O Error"]
invisible=1
```

2. Send the notification
```sh
$ notify-send -q qBittorrent "I/O Error" "ooops"
```

3. See that notification is displayed
```sh
$ makoctl list
{
"type" : "aa{sv}",
"data" : [
[
{
"app-name" : {
"type" : "s",
"data" : "qBittorrent"
},
"app-icon" : {
"type" : "s",
"data" : ""
},
"category" : {
"type" : "s",
"data" : ""
},
"desktop-entry" : {
"type" : "s",
"data" : ""
},
"summary" : {
"type" : "s",
"data" : "I/O Error"
},
...
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.