Share never actually set the repeat_of value

This commit is contained in:
Mikael Nordfeldth 2015-03-12 21:56:18 +01:00
parent 5a235ffbf9
commit 0ff11ac978

View File

@ -122,6 +122,10 @@ class SharePlugin extends ActivityVerbHandlerPlugin
return false;
}
// Setting this here because when the algorithm gets back to
// Notice::saveActivity it will update the Notice object.
$stored->repeat_of = $sharedNotice->getID();
// We don't have to save a repeat in a separate table, we can
// find repeats by just looking at the notice.repeat_of field.