]> git.mxchange.org Git - friendica.git/blobdiff - include/Contact.php
Merge pull request #1903 from annando/1509-bbcode-notifications
[friendica.git] / include / Contact.php
index 1215f40e75e35b9e1c825873ea864b5422f50816..920ec3c2b406f91054815e6927a09734a5c1106d 100644 (file)
@@ -113,7 +113,7 @@ function terminate_friendship($user,$self,$contact) {
                        '$photo' => $self['photo'],
                        '$thumb' => $self['thumb'],
                        '$published' => datetime_convert('UTC','UTC', 'now', ATOM_TIME),
-                       '$item_id' => 'urn:X-dfrn:' . $a->get_hostname() . ':unfollow:' . random_string(),
+                       '$item_id' => 'urn:X-dfrn:' . $a->get_hostname() . ':unfollow:' . get_guid(32),
                        '$title' => '',
                        '$type' => 'text',
                        '$content' => t('stopped following'),