[calls] dummy: origin: Restrict supported protocols to "tel"
- From: Evangelos Ribeiro Tzaras <devrtz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [calls] dummy: origin: Restrict supported protocols to "tel"
- Date: Mon, 31 Jan 2022 17:39:21 +0000 (UTC)
commit 6aba8e119c27dad10afa820b623053eaffdb3cba
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date: Wed Jan 26 10:20:56 2022 +0100
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 6027f20c..183e7c0b 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]