From 0761c4a53a811eba9145e56a0063f6ca30b03b8d Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Thu, 18 Nov 2021 16:17:16 +0100 Subject: [PATCH] dbus: Set can-dtmf property This lets consumers on DBus know if this call is capable of sending DTMF. --- src/calls-dbus-manager.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/calls-dbus-manager.c b/src/calls-dbus-manager.c index ce8cf2e..1c7e0df 100644 --- a/src/calls-dbus-manager.c +++ b/src/calls-dbus-manager.c @@ -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);