Fix chat list short messages in channels
This commit is contained in:
parent
01d3ff18cf
commit
00bb7289ad
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ qlonglong ChatListModel::ChatData::senderMessageDate() const
|
|||
|
||||
QString ChatListModel::ChatData::senderMessageText() const
|
||||
{
|
||||
return FernschreiberUtils::getMessageShortText(lastMessage(CONTENT).toMap(), this->userInformation.value(ID).toLongLong() == senderUserId());
|
||||
return FernschreiberUtils::getMessageShortText(lastMessage(CONTENT).toMap(), ( isChannel() ? false : this->userInformation.value(ID).toLongLong() == senderUserId() ) );
|
||||
}
|
||||
|
||||
QString ChatListModel::ChatData::senderMessageStatus() const
|
||||
|
|
Loading…
Reference in a new issue