diff options
author | Aylur <[email protected]> | 2024-11-18 00:50:16 +0000 |
---|---|---|
committer | Aylur <[email protected]> | 2024-11-18 00:50:22 +0000 |
commit | 48692ff557f5f9e95744f939e3fcd1054badb585 (patch) | |
tree | d8567d71d6449f8660d94b528ade84f112db724a | |
parent | 852cf24fc0da8945b56f7a7304a4475bb007366e (diff) |
fix: #110 notifd urgency hint
-rw-r--r-- | lib/notifd/notification.vala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/notifd/notification.vala b/lib/notifd/notification.vala index 29c6c56..c28138f 100644 --- a/lib/notifd/notification.vala +++ b/lib/notifd/notification.vala @@ -142,9 +142,11 @@ public class AstalNotifd.Notification : Object { return 0; var v = hints.get(hint); - if (v.get_type_string() == "b") + // daemon uses byte as per spec + if (v.get_type_string() == "y") return v.get_byte(); + // proxy uses int64 from json if (v.get_type_string() == "x") return (uint8)v.get_int64(); |