Fix: Noscrape hadn't always returned a key
This commit is contained in:
parent
3038e4a3f9
commit
78b5be12a3
|
@ -60,7 +60,7 @@ class NoScrape extends BaseModule
|
||||||
'addr' => $a->profile['addr'],
|
'addr' => $a->profile['addr'],
|
||||||
'nick' => $which,
|
'nick' => $which,
|
||||||
'guid' => $a->profile['guid'],
|
'guid' => $a->profile['guid'],
|
||||||
'key' => $a->profile['pubkey'],
|
'key' => $a->profile['upubkey'],
|
||||||
'homepage' => DI::baseUrl() . "/profile/{$which}",
|
'homepage' => DI::baseUrl() . "/profile/{$which}",
|
||||||
'comm' => ($a->profile['account-type'] == User::ACCOUNT_TYPE_COMMUNITY),
|
'comm' => ($a->profile['account-type'] == User::ACCOUNT_TYPE_COMMUNITY),
|
||||||
'account-type' => $a->profile['account-type'],
|
'account-type' => $a->profile['account-type'],
|
||||||
|
|
Loading…
Reference in a new issue