From f60ebc2af6143a4d963c5165f38c802e37da6620 Mon Sep 17 00:00:00 2001 From: fiaxh Date: Wed, 7 Nov 2018 00:17:24 +0100 Subject: Use ContentItems for NotificationEvents --- plugins/notification-sound/src/plugin.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/notification-sound') diff --git a/plugins/notification-sound/src/plugin.vala b/plugins/notification-sound/src/plugin.vala index ba251434..081fd1c3 100644 --- a/plugins/notification-sound/src/plugin.vala +++ b/plugins/notification-sound/src/plugin.vala @@ -9,7 +9,7 @@ public class Plugin : RootInterface, Object { this.app = app; Canberra.Context.create(out sound_context); - app.stream_interactor.get_module(NotificationEvents.IDENTITY).notify_message.connect((message, conversation) => { + app.stream_interactor.get_module(NotificationEvents.IDENTITY).notify_content_item.connect((item, conversation) => { sound_context.play(0, Canberra.PROP_EVENT_ID, "message-new-instant", Canberra.PROP_EVENT_DESCRIPTION, "New Dino message"); }); } -- cgit v1.2.3-70-g09d2