aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/service/notification_events.vala
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2021-04-09 23:59:03 +0200
committerfiaxh <git@lightrise.org>2021-04-11 14:42:59 +0200
commitdfffa08ec16e16157df6e7036e09073a546d7552 (patch)
tree4e42223be646880cc0b9b938208a464231a57d23 /libdino/src/service/notification_events.vala
parent6ebdec1d78a7ad1b8668a2ba6eceb34515c75384 (diff)
downloaddino-dfffa08ec16e16157df6e7036e09073a546d7552.tar.gz
dino-dfffa08ec16e16157df6e7036e09073a546d7552.zip
Fix warnings
Diffstat (limited to 'libdino/src/service/notification_events.vala')
-rw-r--r--libdino/src/service/notification_events.vala3
1 files changed, 1 insertions, 2 deletions
diff --git a/libdino/src/service/notification_events.vala b/libdino/src/service/notification_events.vala
index 0243dbe5..7039d1cf 100644
--- a/libdino/src/service/notification_events.vala
+++ b/libdino/src/service/notification_events.vala
@@ -112,9 +112,8 @@ public class NotificationEvents : StreamInteractionModule, Object {
notifier.notify_call.begin(call, conversation, video, conversation_display_name);
call.notify["state"].connect(() => {
-
if (call.state != Call.State.RINGING) {
- notifier.retract_call_notification(call, conversation);
+ notifier.retract_call_notification.begin(call, conversation);
}
});
}