naughty: Correctly notify the client when a notification is dismissed. (#3184)
Fix #3182 Co-authored-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
413d47d5a5
commit
50fa1b8679
|
@ -341,6 +341,8 @@ function notif_methods.Notify(sender, object_path, interface, method, parameters
|
|||
args._unique_sender = sender
|
||||
|
||||
notification = nnotif(args)
|
||||
|
||||
notification:connect_signal("destroyed", function(_, r) args.destroy(r) end)
|
||||
end
|
||||
|
||||
invocation:return_value(GLib.Variant("(u)", { notification.id }))
|
||||
|
|
Loading…
Reference in New Issue