Commit 9f9da0fd authored by Sylvain Berfini's avatar Sylvain Berfini 🎩

Fixed ChatMessage getContentType()

parent 097732c1
......@@ -140,7 +140,7 @@ string ChatMessagePrivate::getSalCustomHeaderValue(const string& name) {
// -----------------------------------------------------------------------------
const string& ChatMessagePrivate::getContentType() {
if (!internalContent.isEmpty()) {
if (!internalContent.getContentType().asString().empty()) {
cContentType = internalContent.getContentType().asString();
} else {
if (contents.size() > 0) {
......
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