From a270ca51014e8bf98554bd5e8eda33a44aa60460 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Tue, 20 Dec 2016 19:31:50 -0800 Subject: allow update of fn and initial setting from channel name --- include/connections.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') diff --git a/include/connections.php b/include/connections.php index ca6931601..b85be33b2 100644 --- a/include/connections.php +++ b/include/connections.php @@ -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; -- cgit v1.2.3