]> git.mxchange.org Git - friendica.git/commitdiff
Fix: Noscrape hadn't always returned a key
authorMichael Vogel <icarus@dabo.de>
Sat, 26 Sep 2020 20:13:00 +0000 (22:13 +0200)
committerMichael Vogel <icarus@dabo.de>
Sat, 26 Sep 2020 20:13:00 +0000 (22:13 +0200)
src/Module/NoScrape.php

index 4ad0e53069effa95dd6c40e93de8425f4558d0b5..7178209bd813ef4238a0b5d51a4d48d420b684b0 100644 (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'],