fix: fix mentions box being too big because plainText was the pubKey

This commit is contained in:
Jonathan Rainville 2020-09-22 15:42:06 -04:00 committed by Iuri Matias
parent 26dd599e06
commit 4060b40ccf
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ Item {
property int chatVerticalPadding: 7
property int chatHorizontalPadding: 12
property bool longReply: chatReply.visible && repliedMessageContent.length > 54
property bool longChatText: plainText.length > 54
property bool longChatText: chatsModel.plainText(message).length > 54
id: chatBox
color: isSticker ? Style.current.background : (isCurrentUser ? Style.current.blue : Style.current.secondaryBackground)