mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-07 05:53:06 +00:00
fix wrong association between c and cpp chat message pointer
This commit is contained in:
parent
fa2450a42b
commit
4296470ab3
1 changed files with 1 additions and 3 deletions
|
|
@ -236,9 +236,7 @@ LinphoneChatMessage *linphone_chat_room_get_last_message_in_history(LinphoneChat
|
|||
if (!cppPtr)
|
||||
return nullptr;
|
||||
|
||||
LinphoneChatMessage *object = L_INIT(ChatMessage);
|
||||
L_SET_CPP_PTR_FROM_C_OBJECT(object, cppPtr);
|
||||
return object;
|
||||
return linphone_chat_message_ref(L_GET_C_BACK_PTR(cppPtr));
|
||||
}
|
||||
|
||||
LinphoneChatMessage *linphone_chat_room_find_message (LinphoneChatRoom *cr, const char *message_id) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue