Fix: Noscrape hadn't always returned a key

This commit is contained in:
Michael Vogel 2020-09-26 22:13:00 +02:00
parent 3038e4a3f9
commit 78b5be12a3
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'],