allow update of fn and initial setting from channel name
This commit is contained in:
@@ -640,6 +640,11 @@ function update_vcard($arr,$vcard = null) {
|
||||
'N' => array_reverse(explode(' ', $fn))
|
||||
]);
|
||||
}
|
||||
else {
|
||||
$vcard->FN = $fn;
|
||||
$vcard->N = array_reverse(explode(' ', $fn));
|
||||
}
|
||||
|
||||
$org = $arr['org'];
|
||||
if($org) {
|
||||
$vcard->ORG = $org;
|
||||
|
Reference in New Issue
Block a user