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
71c50883
Commit
71c50883
authored
Dec 05, 2017
by
Sylvain Berfini
🐮
Browse files
Forgot to set hasFileTransferContent to true when fetching message from db
parent
c48f0f70
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/db/main-db.cpp
src/db/main-db.cpp
+3
-1
No files found.
src/db/main-db.cpp
View file @
71c50883
...
@@ -496,8 +496,10 @@ MainDb::MainDb (const shared_ptr<Core> &core) : AbstractDb(*new MainDbPrivate),
...
@@ -496,8 +496,10 @@ MainDb::MainDb (const shared_ptr<Core> &core) : AbstractDb(*new MainDbPrivate),
const
long
long
&
contentId
=
resolveId
(
row
,
0
);
const
long
long
&
contentId
=
resolveId
(
row
,
0
);
Content
*
content
;
Content
*
content
;
if
(
contentType
==
ContentType
::
FileTransfer
)
if
(
contentType
==
ContentType
::
FileTransfer
)
{
hasFileTransferContent
=
true
;
content
=
new
FileTransferContent
();
content
=
new
FileTransferContent
();
}
else
if
(
contentType
.
isFile
())
{
else
if
(
contentType
.
isFile
())
{
// 2.1 - Fetch contents' file informations.
// 2.1 - Fetch contents' file informations.
string
name
;
string
name
;
...
...
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