mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-17 11:28:07 +00:00
Remove capability check for knowing if the secure icon is shown in search bar.
This commit is contained in:
parent
b8d3e0d382
commit
fbd0b2ed39
1 changed files with 6 additions and 4 deletions
|
|
@ -90,10 +90,12 @@ SearchBox {
|
|||
secure: 1,
|
||||
visible: SettingsModel.secureChatEnabled && AccountSettingsModel.conferenceUri != '',
|
||||
secureIconVisibleHandler : function(entry) {
|
||||
if(entry)
|
||||
return UtilsCpp.hasCapability(entry.sipAddress ? entry.sipAddress : entry, LinphoneEnums.FriendCapabilityLimeX3Dh, true);
|
||||
else
|
||||
return false;
|
||||
return true;
|
||||
// Snippet for reactivating displaying icon/special icon on capability.
|
||||
//if(entry)
|
||||
// return UtilsCpp.hasCapability(entry.sipAddress ? entry.sipAddress : entry, LinphoneEnums.FriendCapabilityLimeX3Dh, true);
|
||||
//else
|
||||
// return false;
|
||||
},
|
||||
handler: function (entry) {
|
||||
searchBox.launchSecureChat(entry.sipAddress)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue