aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-06-30 03:38:12 -0700
committerfriendica <info@friendica.com>2014-06-30 03:38:12 -0700
commit71e8643bf63e91a542b965dd82ba526374044d37 (patch)
treeea15d36a80d2f16e1aaa972c0e148dd76f04739d /include
parent4e8d10e269caf8efe46e1e6167e71fc6f0cabb81 (diff)
downloadvolse-hubzilla-71e8643bf63e91a542b965dd82ba526374044d37.tar.gz
volse-hubzilla-71e8643bf63e91a542b965dd82ba526374044d37.tar.bz2
volse-hubzilla-71e8643bf63e91a542b965dd82ba526374044d37.zip
ensure we have a unique guid for each address if one is generated.
Diffstat (limited to 'include')
-rw-r--r--include/zot.php2
1 files changed, 1 insertions, 1 deletions
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);
}
}