From 6aba8e119c27dad10afa820b623053eaffdb3cba Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Wed, 26 Jan 2022 10:20:56 +0100 Subject: [PATCH] dummy: origin: Restrict supported protocols to "tel" --- plugins/dummy/calls-dummy-origin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dummy/calls-dummy-origin.c b/plugins/dummy/calls-dummy-origin.c index 6027f20..183e7c0 100644 --- a/plugins/dummy/calls-dummy-origin.c +++ b/plugins/dummy/calls-dummy-origin.c @@ -157,7 +157,7 @@ supports_protocol (CallsOrigin *origin, g_assert (protocol != NULL); g_assert (CALLS_IS_DUMMY_ORIGIN (origin)); - return TRUE; + return g_strcmp0 (protocol, "tel") == 0; }