1
0
Fork 0

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

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'],