From 1a51ce0e402baffcd83fe731fc35bf600233708b Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Fri, 13 May 2022 19:04:58 +0200 Subject: [PATCH] dbus-manager: Bind encrypted property --- src/calls-dbus-manager.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/calls-dbus-manager.c b/src/calls-dbus-manager.c index eeef6a3..4ea49e7 100644 --- a/src/calls-dbus-manager.c +++ b/src/calls-dbus-manager.c @@ -260,6 +260,7 @@ call_added_cb (CallsDBusManager *self, CuiCall *call) g_object_bind_property (call, "id", iface, "id", G_BINDING_SYNC_CREATE); g_object_bind_property (call, "display-name", iface, "display-name", G_BINDING_SYNC_CREATE); g_object_bind_property (call, "protocol", iface, "protocol", G_BINDING_SYNC_CREATE); + g_object_bind_property (call, "encrypted", iface, "encrypted", G_BINDING_SYNC_CREATE); g_object_set (iface, "can-dtmf", cui_call_get_can_dtmf (call), NULL); g_object_bind_property_full (call, "avatar-icon", @@ -268,9 +269,6 @@ call_added_cb (CallsDBusManager *self, CuiCall *call) avatar_loadable_icon_transform_to_image_path, NULL, NULL, NULL); - /* TODO: once calls supports encryption */ - calls_dbus_calls_call_set_encrypted (iface, FALSE); - g_signal_connect (call, "notify::ui-active", G_CALLBACK (on_notify_update_hints),