fix secured property in call sticker #LINQT-2438

This commit is contained in:
Gaelle Braud 2026-03-16 15:23:19 +01:00
parent 98bf0f8dea
commit 1a1db6ac56
2 changed files with 2 additions and 1 deletions

View file

@ -47,6 +47,7 @@ Mosaic {
displayAll: false
displayPresence: false
participantDevice: avatarCell.currentDevice
secured: securityLevel === LinphoneEnums.SecurityLevel.EndToEndEncryptedAndVerified
Component.onCompleted: console.log(qmlName + " is " +(call ? call.core.remoteAddress : currentDevice ? currentDevice.core.address : 'addr_NotDefined'))
}
}

View file

@ -25,6 +25,7 @@ Item {
property ParticipantDeviceGui participantDevice: null
property bool displayBorder : participantDevice && participantDevice.core.isSpeaking || false
property alias displayPresence: avatar.displayPresence
property alias secured: avatar.secured
property color color: DefaultStyle.grey_600
property real radius: Utils.getSizeWithScreenRatio(15)
property bool remoteIsPaused: participantDevice
@ -115,7 +116,6 @@ Item {
call: !mainItem.previewEnabled ? mainItem.call : null
displayNameVal: mainItem.displayName
securityBreach: mainItem.securityBreach ? mainItem.securityBreach : securityLevel === LinphoneEnums.SecurityLevel.Unsafe
secured: securityLevel === LinphoneEnums.SecurityLevel.EndToEndEncryptedAndVerified
}
ColumnLayout{
id: joiningView