mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
Forgot to set hasFileTransferContent to true when fetching message from db
This commit is contained in:
parent
c48f0f70b5
commit
71c5088307
1 changed files with 3 additions and 1 deletions
|
|
@ -496,8 +496,10 @@ MainDb::MainDb (const shared_ptr<Core> &core) : AbstractDb(*new MainDbPrivate),
|
|||
const long long &contentId = resolveId(row, 0);
|
||||
Content *content;
|
||||
|
||||
if (contentType == ContentType::FileTransfer)
|
||||
if (contentType == ContentType::FileTransfer) {
|
||||
hasFileTransferContent = true;
|
||||
content = new FileTransferContent();
|
||||
}
|
||||
else if (contentType.isFile()) {
|
||||
// 2.1 - Fetch contents' file informations.
|
||||
string name;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue