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
217f50fa
Commit
217f50fa
authored
Oct 14, 2015
by
Gautier Pelloux-Prayer
Browse files
chat.c: set chat direction before sending chat message
parent
7c84d4f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
coreapi/chat.c
coreapi/chat.c
+2
-1
No files found.
coreapi/chat.c
View file @
217f50fa
...
...
@@ -326,6 +326,8 @@ void _linphone_chat_room_send_message(LinphoneChatRoom *cr, LinphoneChatMessage
return
;
}
msg
->
dir
=
LinphoneChatMessageOutgoing
;
// add to transient list
cr
->
transient_messages
=
ms_list_append
(
cr
->
transient_messages
,
linphone_chat_message_ref
(
msg
));
...
...
@@ -392,7 +394,6 @@ void _linphone_chat_room_send_message(LinphoneChatRoom *cr, LinphoneChatMessage
ms_free
(
peer_uri
);
}
msg
->
dir
=
LinphoneChatMessageOutgoing
;
if
(
msg
->
from
){
/*
* BUG
...
...
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