Commit 2600d5f4 authored by Ronan's avatar Ronan

fix(MainDb): call addContent correctly

parent 87c7236d
......@@ -359,7 +359,7 @@ MainDb::MainDb (const shared_ptr<Core> &core) : AbstractDb(*new MainDbPrivate),
content->setContentType(contentType);
content->setBody(row.get<string>(2));
chatMessage.addContent(content);
chatMessage->addContent(content);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment