Fixed fetch body of contents

This commit is contained in:
Sylvain Berfini 2017-11-24 16:43:05 +01:00
parent 88dbfba40b
commit 140a277410

View file

@ -453,7 +453,7 @@ MainDb::MainDb (const shared_ptr<Core> &core) : AbstractDb(*new MainDbPrivate),
content = new Content();
content->setContentType(contentType);
content->setBody(row.get<string>(2));
content->setBody(row.get<string>(3));
chatMessage->addContent(*content);
}
}