dbus: Set can-dtmf property
This lets consumers on DBus know if this call is capable of sending DTMF.
This commit is contained in:
@@ -149,6 +149,7 @@ call_added_cb (CallsDBusManager *self, CallsCall *call)
|
||||
g_object_bind_property (call, "inbound", iface, "inbound", G_BINDING_SYNC_CREATE);
|
||||
g_object_bind_property (call, "number", iface, "id", G_BINDING_SYNC_CREATE);
|
||||
g_object_bind_property (call, "protocol", iface, "protocol", G_BINDING_SYNC_CREATE);
|
||||
g_object_set (iface, "can-dtmf", calls_call_can_dtmf (call), NULL);
|
||||
/* TODO: once calls supports encryption */
|
||||
calls_dbus_calls_call_set_encrypted (iface, FALSE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user