Replace random strings with guids where appropriate.

This commit is contained in:
Michael Vogel
2015-08-14 07:48:28 +02:00
parent 43fda0d626
commit bacd71e1c6
5 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -296,7 +296,7 @@ function new_contact($uid,$url,$interactive = false) {
'$photo' => $a->contact['photo'],
'$thumb' => $a->contact['thumb'],
'$published' => datetime_convert('UTC','UTC', 'now', ATOM_TIME),
'$item_id' => 'urn:X-dfrn:' . $a->get_hostname() . ':follow:' . random_string(),
'$item_id' => 'urn:X-dfrn:' . $a->get_hostname() . ':follow:' . get_guid(32),
'$title' => '',
'$type' => 'text',
'$content' => t('following'),