From 71e8643bf63e91a542b965dd82ba526374044d37 Mon Sep 17 00:00:00 2001 From: friendica Date: Mon, 30 Jun 2014 03:38:12 -0700 Subject: ensure we have a unique guid for each address if one is generated. --- include/zot.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/zot.php b/include/zot.php index 13c4b7237..bc75c683e 100644 --- a/include/zot.php +++ b/include/zot.php @@ -999,9 +999,9 @@ function import_xchan($arr,$ud_flags = UPDATE_FLAGS_UPDATED) { } if(($changed) || ($ud_flags == UPDATE_FLAGS_FORCED)) { - $guid = random_string() . '@' . get_app()->get_hostname(); if($addresses) { foreach($addresses as $address) { + $guid = random_string() . '@' . get_app()->get_hostname(); update_modtime($xchan_hash,$guid,$address,$ud_flags); } } -- cgit v1.2.3