X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=classes%2FConversation.php;h=56f61c63ab2c1453ebd8250c6c17b721bd358bcc;hb=dd61ae8fbeee64c85f8186672292335592be1ff5;hp=67ac89cf1c267efa4dab53912e1cc33746ecf582;hpb=e0d0a59706f7e4b49106f810759e30650f9b4fa4;p=quix0rs-gnu-social.git diff --git a/classes/Conversation.php b/classes/Conversation.php index 67ac89cf1c..56f61c63ab 100644 --- a/classes/Conversation.php +++ b/classes/Conversation.php @@ -71,10 +71,11 @@ class Conversation extends Managed_DataObject $conv = new Conversation(); $conv->created = common_sql_now(); $conv->id = $notice->id; - $conv->uri = $uri ?: sprintf('%s%s=%d:%s=%s', + $conv->uri = $uri ?: sprintf('%s%s=%d:%s=%s:%s=%x', TagURI::mint(), 'noticeId', $notice->id, - 'objectType', 'thread'); + 'objectType', 'thread', + 'crc32', crc32($notice->content)); $result = $conv->insert(); if ($result === false) {