Skip to content

Commit

Permalink
fix: #110 notifd urgency hint
Browse files Browse the repository at this point in the history
  • Loading branch information
Aylur committed Nov 18, 2024
1 parent 852cf24 commit 48692ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/notifd/notification.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 48692ff

Please sign in to comment.