mirror of
https://gitlab.linphone.org/BC/public/flexisip-account-manager.git
synced 2026-05-03 22:56:50 +00:00
Fix returned vcard4.0 format to allow them to be parsed properly in liblinphone
This commit is contained in:
parent
d091b0dbcf
commit
1804432e7d
2 changed files with 6 additions and 3 deletions
|
|
@ -234,11 +234,14 @@ KIND:individual
|
|||
IMPP:sip:'.$this->getIdentifierAttribute();
|
||||
|
||||
if (!empty($this->attributes['display_name'])) {
|
||||
$vcard . '
|
||||
$vcard .= '
|
||||
FN:'.$this->attributes['display_name'];
|
||||
} else {
|
||||
$vcard .= '
|
||||
FN:'.$this->getIdentifierAttribute();
|
||||
}
|
||||
|
||||
if ($this->types) {
|
||||
if ($this->types->count() > 0) {
|
||||
$vcard .= '
|
||||
X-LINPHONE-ACCOUNT-TYPE:'.$this->types->implode('key', ',');
|
||||
}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
#%define _datadir %{_datarootdir}
|
||||
#%define _docdir %{_datadir}/doc
|
||||
|
||||
%define build_number 113
|
||||
%define build_number 114
|
||||
%define var_dir /var/opt/belledonne-communications
|
||||
%define opt_dir /opt/belledonne-communications/share/flexisip-account-manager
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue