]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Share/SharePlugin.php
Share never actually set the repeat_of value
[quix0rs-gnu-social.git] / plugins / Share / SharePlugin.php
index 582f7d3e2e0de4e2a4b1d893230e59ba97052a97..bfcf931a8ed520a58c06529b2803a3d9e536ed03 100644 (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.