diff options
author | Bjoern Schiessle <bjoern@schiessle.org> | 2017-04-21 16:36:26 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-04-28 23:41:36 -0300 |
commit | 94df091ee4ba8b9e497bbbb6ecbd189617f9b060 (patch) | |
tree | a1d6d3efd0260feeca388cffc4d5bf38b9369479 /apps | |
parent | 866e5d6d050bc25387197ba10156809fde8e24a7 (diff) | |
download | nextcloud-server-94df091ee4ba8b9e497bbbb6ecbd189617f9b060.tar.gz nextcloud-server-94df091ee4ba8b9e497bbbb6ecbd189617f9b060.zip |
send local verification status to lookup server
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/lookup_server_connector/lib/UpdateLookupServer.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/lookup_server_connector/lib/UpdateLookupServer.php b/apps/lookup_server_connector/lib/UpdateLookupServer.php index 03fd98351c8..8a2b037c1ef 100644 --- a/apps/lookup_server_connector/lib/UpdateLookupServer.php +++ b/apps/lookup_server_connector/lib/UpdateLookupServer.php @@ -102,6 +102,11 @@ class UpdateLookupServer { $dataArray['website'] = isset($publicData[AccountManager::PROPERTY_WEBSITE]) ? $publicData[AccountManager::PROPERTY_WEBSITE]['value'] : ''; $dataArray['twitter'] = isset($publicData[AccountManager::PROPERTY_TWITTER]) ? $publicData[AccountManager::PROPERTY_TWITTER]['value'] : ''; $dataArray['phone'] = isset($publicData[AccountManager::PROPERTY_PHONE]) ? $publicData[AccountManager::PROPERTY_PHONE]['value'] : ''; + $dataArray['verificationStatus'] = + [ + AccountManager::PROPERTY_WEBSITE => isset($publicData[AccountManager::PROPERTY_WEBSITE]) ? $publicData[AccountManager::PROPERTY_WEBSITE]['verified'] : '', + AccountManager::PROPERTY_TWITTER => isset($publicData[AccountManager::PROPERTY_TWITTER]) ? $publicData[AccountManager::PROPERTY_TWITTER]['verified'] : '', + ]; } $dataArray = $this->signer->sign('lookupserver', $dataArray, $user); |