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) {
|
if ($so && $so->exists) {
|
||||||
foreach ($this->node->aka_other as $aka)
|
foreach ($this->node->aka_other as $aka)
|
||||||
if (! Address::findFTN($aka)) {
|
if (! Address::findFTN($aka)) {
|
||||||
Address::createFTN($aka,$so);
|
$oo = Address::createFTN($aka,$so);
|
||||||
$o->validated = TRUE;
|
$oo->validated = TRUE;
|
||||||
$o->save();
|
$oo->save();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Log session in DB
|
// Log session in DB
|
||||||
|
Loading…
Reference in New Issue
Block a user