Commit 4c2e09b8 authored by Sylvain Berfini's avatar Sylvain Berfini 🎩
Browse files

Small code improvement

parent ac482f58
......@@ -137,7 +137,7 @@ void ChatMessagePrivate::setState (ChatMessage::State newState, bool force) {
LinphoneChatMessageCbs *cbs = linphone_chat_message_get_callbacks(msg);
if (cbs && linphone_chat_message_cbs_get_msg_state_changed(cbs))
linphone_chat_message_cbs_get_msg_state_changed(cbs)(msg, linphone_chat_message_get_state(msg));
linphone_chat_message_cbs_get_msg_state_changed(cbs)(msg, (LinphoneChatMessageState)state);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment