Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
liblinphone
Commits
7018a708
Commit
7018a708
authored
Nov 09, 2017
by
Sylvain Berfini
🎩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed old C API for file transfer
parent
f1f84e7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/chat/chat-message/chat-message.cpp
src/chat/chat-message/chat-message.cpp
+6
-0
No files found.
src/chat/chat-message/chat-message.cpp
View file @
7018a708
...
...
@@ -286,6 +286,12 @@ LinphoneContent *ChatMessagePrivate::getFileTransferInformation () const {
if
(
hasFileTransferContent
())
{
return
getFileTransferContent
()
->
toLinphoneContent
();
}
for
(
const
Content
*
c
:
contents
)
{
if
(
c
->
getContentType
().
isFile
())
{
FileContent
*
fileContent
=
(
FileContent
*
)
c
;
return
fileContent
->
toLinphoneContent
();
}
}
return
NULL
;
}
...
...
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