1
1
Fork 0

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

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