From a3f096723623378248160c045f9c7af40779fb46 Mon Sep 17 00:00:00 2001 From: Ghislain MARY Date: Mon, 6 Jan 2014 15:42:34 +0100 Subject: [PATCH] Add missing is_composing_received callback when a text message is received. --- coreapi/chat.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/coreapi/chat.c b/coreapi/chat.c index ddb6ba262..186aa111f 100644 --- a/coreapi/chat.c +++ b/coreapi/chat.c @@ -198,7 +198,10 @@ void linphone_chat_room_message_received(LinphoneChatRoom *cr, LinphoneCore *lc, //legacy API if (lc->vtable.text_received!=NULL) lc->vtable.text_received(lc, cr, msg->from, msg->message); if (lc->vtable.message_received!=NULL) lc->vtable.message_received(lc, cr,msg); - + if (cr->lc->vtable.is_composing_received != NULL) { + cr->remote_is_composing = LinphoneIsComposingIdle; + cr->lc->vtable.is_composing_received(cr->lc, cr); + } } /**