mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-18 11:38:08 +00:00
Fixed broken compil due to dumb mistake
This commit is contained in:
parent
bcfa66e447
commit
95ab4ff585
1 changed files with 3 additions and 2 deletions
|
|
@ -179,6 +179,7 @@ void ChatMessagePrivate::setContentType (const ContentType &contentType) {
|
|||
}
|
||||
|
||||
const string &ChatMessagePrivate::getText () {
|
||||
L_Q();
|
||||
if (direction == ChatMessage::Direction::Incoming) {
|
||||
if (contents.size() > 0) {
|
||||
Content content = contents.front();
|
||||
|
|
@ -187,8 +188,8 @@ const string &ChatMessagePrivate::getText () {
|
|||
cText = internalContent.getBodyAsString();
|
||||
}
|
||||
} else {
|
||||
if (hasTextContent()) {
|
||||
cText = getTextContent.getBodyAsString();
|
||||
if (q->hasTextContent()) {
|
||||
cText = q->getTextContent().getBodyAsString();
|
||||
} else if (!internalContent.isEmpty()) {
|
||||
cText = internalContent.getBodyAsString();
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue