From 706a667547d26b08b8b45fa10b2b05a44df7c0a0 Mon Sep 17 00:00:00 2001 From: Evangelos Ribeiro Tzaras Date: Thu, 25 Feb 2021 10:29:35 +0100 Subject: [PATCH] sip: origin: fix direct connection case --- plugins/sip/calls-sip-origin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/sip/calls-sip-origin.c b/plugins/sip/calls-sip-origin.c index 761eb1e..f23df96 100644 --- a/plugins/sip/calls-sip-origin.c +++ b/plugins/sip/calls-sip-origin.c @@ -510,8 +510,8 @@ init_sip_account (CallsSipOrigin *self, g_return_val_if_fail (CALLS_IS_SIP_ORIGIN (self), FALSE); - if (self->use_direct_connection && !is_account_complete (self)) { - g_debug ("Account not set yet. Using user and hostname"); + if (self->use_direct_connection) { + g_debug ("Direct connection case. Using user and hostname"); setup_account_for_direct_connection (self); }