diff --git a/smsapp/conversationmodel.cpp b/smsapp/conversationmodel.cpp index c8bccfa74..6b1f0468a 100644 --- a/smsapp/conversationmodel.cpp +++ b/smsapp/conversationmodel.cpp @@ -139,7 +139,7 @@ void ConversationModel::createRowFromMessage(const ConversationMessage& message, auto item = new QStandardItem; item->setText(displayBody); - item->setData(message.type() == ConversationMessage::MessageTypeSent, FromMeRole); + item->setData(message.isOutgoing(), FromMeRole); item->setData(message.date(), DateRole); item->setData(senderName, SenderRole); insertRow(pos, item);