Fix default naughty preset for dbus notifications
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
1513f399e1
commit
3dd4cc3226
|
@ -475,7 +475,7 @@ end
|
||||||
-- Notify
|
-- Notify
|
||||||
if capi.dbus then
|
if capi.dbus then
|
||||||
capi.dbus.add_signal("org.freedesktop.Notifications", function (data, appname, replaces_id, icon, title, text, actions, hints, expire)
|
capi.dbus.add_signal("org.freedesktop.Notifications", function (data, appname, replaces_id, icon, title, text, actions, hints, expire)
|
||||||
args = { preset = { } }
|
args = { preset = config.default_preset }
|
||||||
if data.member == "Notify" then
|
if data.member == "Notify" then
|
||||||
if text ~= "" then
|
if text ~= "" then
|
||||||
args.text = text
|
args.text = text
|
||||||
|
|
Loading…
Reference in New Issue