From 48692ff557f5f9e95744f939e3fcd1054badb585 Mon Sep 17 00:00:00 2001 From: Aylur Date: Mon, 18 Nov 2024 00:50:16 +0000 Subject: fix: #110 notifd urgency hint --- lib/notifd/notification.vala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib') 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(); -- cgit v1.2.3