commit 34a52e16680e70528855001aa4b7be724b1b7db9 parent 90c4d00ab6b5298c691c284484e43928448c997f Author: Santtu Lakkala <inz@inz.fi> Date: Mon, 28 Feb 2022 14:29:42 +0200 Fix json update Diffstat:
M | tmisu.c | | | 3 | +-- |
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tmisu.c b/tmisu.c @@ -209,8 +209,7 @@ const struct notification *notif_update(DBusMessage *msg, if (!i) return NULL; - if (!use_json) - changed |= !!strcmp(title, i->title); + changed |= use_json || strcmp(title, i->title); dbus_message_unref(i->msg); if (cmd && i->child) kill(i->child, SIGTERM);