1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-13 16:07:36 +00:00

dbus: Set can-dtmf property

This lets consumers on DBus know if this call is capable of sending DTMF.
This commit is contained in:
Evangelos Ribeiro Tzaras 2021-11-18 16:17:16 +01:00
parent 075dca5c35
commit 0761c4a53a

View file

@ -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);