Fix default naughty preset for dbus notifications
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
4972a280b0
commit
3b0a20ca3b
|
@ -499,7 +499,7 @@ end
|
||||||
-- Notify
|
-- Notify
|
||||||
if capi.dbus then
|
if capi.dbus then
|
||||||
capi.dbus.connect_signal("org.freedesktop.Notifications", function (data, appname, replaces_id, icon, title, text, actions, hints, expire)
|
capi.dbus.connect_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