From 863eb40455a69bfdd6945e8b2cfea8e0d94f9c6d Mon Sep 17 00:00:00 2001 From: Stefan Becker Date: Thu, 7 Nov 2013 11:59:10 +0200 Subject: [PATCH] incoming: set dialog established flag on INVITE There are many places where we check if a dialog has been established, e.g. when deciding if to sent typing indication to the remote party. (cherry picked from commit ae88e687581a0f23fff20e8913d326a9744a9381) --- src/core/sipe-incoming.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/sipe-incoming.c b/src/core/sipe-incoming.c index 2ad4d767..32e4dceb 100644 --- a/src/core/sipe-incoming.c +++ b/src/core/sipe-incoming.c @@ -564,6 +564,7 @@ void process_incoming_invite(struct sipe_core_private *sipe_private, dialog = sipe_dialog_add(session); dialog->with = g_strdup(from); dialog->callid = g_strdup(session->callid); + dialog->is_established = TRUE; sipe_dialog_parse(dialog, msg, FALSE); if (is_multiparty && !was_multiparty) { -- 2.11.4.GIT