mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
Move the message add code after the send.
This commit is contained in:
parent
42199f23dc
commit
78e1ae145c
1 changed files with 1 additions and 1 deletions
|
|
@ -326,8 +326,8 @@ static void message_status(LinphoneChatMessage* msg,LinphoneChatMessageState sta
|
|||
if(externalUrl) {
|
||||
linphone_chat_message_set_external_body_url(msg, [[externalUrl absoluteString] UTF8String]);
|
||||
}
|
||||
[tableController addChatEntry:linphone_chat_message_ref(msg)];
|
||||
linphone_chat_room_send_message2(chatRoom, msg, message_status, self);
|
||||
[tableController addChatEntry:linphone_chat_message_ref(msg)];
|
||||
[tableController scrollToBottom:true];
|
||||
return TRUE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue