mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
fix #LINQT-1774 forgot to set visible property en e2e encrypted header
This commit is contained in:
parent
481f9500c6
commit
c766fb0237
3 changed files with 7 additions and 0 deletions
|
|
@ -261,6 +261,10 @@ bool ChatCore::isGroupChat() const {
|
|||
return mIsGroupChat;
|
||||
}
|
||||
|
||||
bool ChatCore::isEncrypted() const {
|
||||
return mIsEncrypted;
|
||||
}
|
||||
|
||||
QString ChatCore::getIdentifier() const {
|
||||
return mIdentifier;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -66,6 +66,8 @@ public:
|
|||
|
||||
bool isGroupChat() const;
|
||||
|
||||
bool isEncrypted() const;
|
||||
|
||||
QString getIdentifier() const;
|
||||
|
||||
ChatMessageGui *getLastMessage() const;
|
||||
|
|
|
|||
|
|
@ -59,6 +59,7 @@ ListView {
|
|||
}
|
||||
|
||||
header: Item {
|
||||
visible: mainItem.chat && mainItem.chat.core.isEncrypted
|
||||
height: headerMessage.height + Math.round(50 * DefaultStyle.dp)
|
||||
width: headerMessage.width
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue