[calls] dbus-manager: Bind encrypted property



commit 1a51ce0e402baffcd83fe731fc35bf600233708b
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date:   Fri May 13 19:04:58 2022 +0200

    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 eeef6a34..4ea49e7b 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),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]