ms_message("Chat message %p: moving from state %s to %s",this,linphone_chat_message_state_to_string((LinphoneChatMessageState)state),linphone_chat_message_state_to_string((LinphoneChatMessageState)s));
lInfo()<<"Chat message "<<this<<": moving from state "<<linphone_chat_message_state_to_string((LinphoneChatMessageState)state)<<" to "<<linphone_chat_message_state_to_string((LinphoneChatMessageState)s);
ms_message("Canceling file transfer %s",(d->externalBodyUrl.empty())?linphone_core_get_file_transfer_server(d->chatRoom->getCore()):d->externalBodyUrl.c_str());
lInfo()<<"Canceling file transfer "<<(d->externalBodyUrl.empty())?linphone_core_get_file_transfer_server(d->chatRoom->getCore()):d->externalBodyUrl.c_str();