Merge pull request #9287 from annando/fix-noscrape

Fix: Noscrape hadn't always returned a key
This commit is contained in:
Hypolite Petovan 2020-09-26 16:26:45 -04:00 committed by GitHub
commit f1830b84cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ class NoScrape extends BaseModule
'addr' => $a->profile['addr'],
'nick' => $which,
'guid' => $a->profile['guid'],
'key' => $a->profile['pubkey'],
'key' => $a->profile['upubkey'],
'homepage' => DI::baseUrl() . "/profile/{$which}",
'comm' => ($a->profile['account-type'] == User::ACCOUNT_TYPE_COMMUNITY),
'account-type' => $a->profile['account-type'],