diff --git a/src/chat/chat-message/chat-message.cpp b/src/chat/chat-message/chat-message.cpp index d739ada34..2d36bfbfd 100644 --- a/src/chat/chat-message/chat-message.cpp +++ b/src/chat/chat-message/chat-message.cpp @@ -655,6 +655,10 @@ void ChatMessagePrivate::send () { } } + // Remove internal content as it is not needed anymore and will confuse some old methods like getContentType() + internalContent.setBody(""); + internalContent.setContentType(ContentType("")); + if (imdnId.empty()) setImdnMessageId(op->get_call_id()); /* must be known at that time */