Fix creating a new discovered address and setting validated to true
All checks were successful
Create Docker Image / Build Docker Image (x86_64) (push) Successful in 39s
Create Docker Image / Build Docker Image (arm64) (push) Successful in 1m42s
Create Docker Image / Final Docker Image Manifest (push) Successful in 10s

This commit is contained in:
Deon George 2024-05-27 18:04:04 +10:00
parent e15331ec35
commit b102fc4d2a

View File

@ -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