Always show sender's name
This commit is contained in:
parent
b7a6b1f00e
commit
88e0ffa01a
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ void ConversationModel::createRowFromMessage(const ConversationMessage& message,
|
||||||
QString displayBody = message.containsTextBody() ? message.body() : i18n("(Unsupported Message Type)");
|
QString displayBody = message.containsTextBody() ? message.body() : i18n("(Unsupported Message Type)");
|
||||||
|
|
||||||
ConversationAddress sender = message.addresses().first();
|
ConversationAddress sender = message.addresses().first();
|
||||||
QString senderName = message.isMultitarget() ? SmsHelper::getTitleForAddresses({sender}) : QString();
|
QString senderName = message.isIncoming() ? SmsHelper::getTitleForAddresses({sender}) : QString();
|
||||||
|
|
||||||
auto item = new QStandardItem;
|
auto item = new QStandardItem;
|
||||||
item->setText(displayBody);
|
item->setText(displayBody);
|
||||||
|
|
Loading…
Reference in a new issue