mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-06 21:33:08 +00:00
Fixed ChatMessage getContentType()
This commit is contained in:
parent
097732c15f
commit
9f9da0fda1
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue