aboutsummaryrefslogtreecommitdiff
path: root/plugins/notification-sound
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2018-11-07 00:17:24 +0100
committerfiaxh <git@mx.ax.lt>2018-11-07 00:17:24 +0100
commitf60ebc2af6143a4d963c5165f38c802e37da6620 (patch)
tree1eb17bae4f50110def48628f05e4b2f19a496531 /plugins/notification-sound
parent3af9faac82dc19d5d9059d190cc17ce7186e4a10 (diff)
downloaddino-f60ebc2af6143a4d963c5165f38c802e37da6620.tar.gz
dino-f60ebc2af6143a4d963c5165f38c802e37da6620.zip
Use ContentItems for NotificationEvents
Diffstat (limited to 'plugins/notification-sound')
-rw-r--r--plugins/notification-sound/src/plugin.vala2
1 files changed, 1 insertions, 1 deletions
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");
});
}