From b3cd378704d24c6319b34bca61543b4c04cec8b6 Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Fri, 9 Apr 2021 02:44:05 +0200 Subject: [PATCH] sip: origin: Remove unnecessary code Remove a remnant from early development which has no use anymore since "direct-connection" is now a property. --- plugins/sip/calls-sip-origin.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/sip/calls-sip-origin.c b/plugins/sip/calls-sip-origin.c index 707286f..bdbd5ac 100644 --- a/plugins/sip/calls-sip-origin.c +++ b/plugins/sip/calls-sip-origin.c @@ -1122,10 +1122,6 @@ calls_sip_origin_init (CallsSipOrigin *self) self->name = g_string_new (NULL); self->call_handles = g_hash_table_new (NULL, NULL); - - /* Direct connection mode is useful for debugging purposes */ - self->use_direct_connection = TRUE; - } CallsSipOrigin * @@ -1162,6 +1158,10 @@ calls_sip_origin_new (const gchar *name, } +/* calls_sip_origin_go_online: + * @self: A #CallsSipOrigin + * @enabled: Whether to go online or offline + */ void calls_sip_origin_go_online (CallsSipOrigin *self, gboolean online)