Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
liblinphone
Commits
b0349952
Commit
b0349952
authored
Nov 06, 2017
by
Ghislain MARY
Browse files
Fix linphone_chat_room_create_message().
parent
ce8805e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/c-wrapper/api/c-chat-room.cpp
View file @
b0349952
...
...
@@ -101,7 +101,10 @@ const LinphoneAddress *linphone_chat_room_get_peer_address (LinphoneChatRoom *cr
}
LinphoneChatMessage
*
linphone_chat_room_create_message
(
LinphoneChatRoom
*
cr
,
const
char
*
message
)
{
return
L_GET_C_BACK_PTR
(
L_GET_CPP_PTR_FROM_C_OBJECT
(
cr
)
->
createMessage
(
L_C_TO_STRING
(
message
)));
shared_ptr
<
LinphonePrivate
::
ChatMessage
>
cppPtr
=
L_GET_CPP_PTR_FROM_C_OBJECT
(
cr
)
->
createMessage
(
L_C_TO_STRING
(
message
));
LinphoneChatMessage
*
object
=
L_INIT
(
ChatMessage
);
L_SET_CPP_PTR_FROM_C_OBJECT
(
object
,
cppPtr
);
return
object
;
}
LinphoneChatMessage
*
linphone_chat_room_create_message_2
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment