diff options
author | Aylur <[email protected]> | 2024-09-30 11:06:10 +0000 |
---|---|---|
committer | Aylur <[email protected]> | 2024-09-30 11:06:10 +0000 |
commit | e164aafcb9a7830a8042f5501dd678455bc2e37c (patch) | |
tree | bb9c421c6f26eb80f7779d08dbd6ac1f2e5a91c4 /lib/notifd | |
parent | 80463639720a644a7bfdafa9aebd4488a47b67f4 (diff) |
fix(notifd): check ignore-timeout after Notify calls too
#32
Diffstat (limited to 'lib/notifd')
-rw-r--r-- | lib/notifd/daemon.vala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/notifd/daemon.vala b/lib/notifd/daemon.vala index e918201..b7a76df 100644 --- a/lib/notifd/daemon.vala +++ b/lib/notifd/daemon.vala @@ -133,7 +133,9 @@ internal class AstalNotifd.Daemon : Object { if (!ignore_timeout && expire_timeout > 0) { Timeout.add(expire_timeout, () => { - resolved(id, ClosedReason.EXPIRED); + if (!ignore_timeout) { + resolved(id, ClosedReason.EXPIRED); + } return Source.REMOVE; }, Priority.DEFAULT); } |