mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-08 08:34:27 +02:00
Fix the key fields in the self contacts
This commit is contained in:
parent
f1830b84cd
commit
9c675c3f01
2 changed files with 8 additions and 6 deletions
|
@ -366,7 +366,7 @@ class User
|
|||
if (!$repair) {
|
||||
// Check if "addr" is present and correct
|
||||
$addr = $owner['nickname'] . '@' . substr(DI::baseUrl(), strpos(DI::baseUrl(), '://') + 3);
|
||||
$repair = ($addr != $owner['addr']);
|
||||
$repair = ($addr != $owner['addr']) || empty($owner['prvkey']) || empty($owner['pubkey']);
|
||||
}
|
||||
|
||||
if (!$repair) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue