ensure we have a unique guid for each address if one is generated.
This commit is contained in:
parent
4e8d10e269
commit
71e8643bf6
@ -999,9 +999,9 @@ function import_xchan($arr,$ud_flags = UPDATE_FLAGS_UPDATED) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(($changed) || ($ud_flags == UPDATE_FLAGS_FORCED)) {
|
if(($changed) || ($ud_flags == UPDATE_FLAGS_FORCED)) {
|
||||||
$guid = random_string() . '@' . get_app()->get_hostname();
|
|
||||||
if($addresses) {
|
if($addresses) {
|
||||||
foreach($addresses as $address) {
|
foreach($addresses as $address) {
|
||||||
|
$guid = random_string() . '@' . get_app()->get_hostname();
|
||||||
update_modtime($xchan_hash,$guid,$address,$ud_flags);
|
update_modtime($xchan_hash,$guid,$address,$ud_flags);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user