Fix creating a new discovered address and setting validated to true
This commit is contained in:
parent
e15331ec35
commit
b102fc4d2a
@ -427,9 +427,9 @@ abstract class Protocol
|
||||
if ($so && $so->exists) {
|
||||
foreach ($this->node->aka_other as $aka)
|
||||
if (! Address::findFTN($aka)) {
|
||||
Address::createFTN($aka,$so);
|
||||
$o->validated = TRUE;
|
||||
$o->save();
|
||||
$oo = Address::createFTN($aka,$so);
|
||||
$oo->validated = TRUE;
|
||||
$oo->save();
|
||||
}
|
||||
|
||||
// Log session in DB
|
||||
|
Loading…
Reference in New Issue
Block a user