]> git.mxchange.org Git - friendica.git/blobdiff - mod/starred.php
Statusnet is now GNU Social
[friendica.git] / mod / starred.php
index 3bfc75f67964df1c5107aecca6ff615d8323193c..2a89ac768bae20cb3150c48b3d5a841347790611 100644 (file)
@@ -3,6 +3,8 @@
 
 function starred_init(&$a) {
 
+       require_once("include/threads.php");
+
        $starred = 0;
 
        if(! local_user())
@@ -27,7 +29,9 @@ function starred_init(&$a) {
                intval(local_user()),
                intval($message_id)
        );
+
+       update_thread($message_id);
+
        // See if we've been passed a return path to redirect to
        $return_path = ((x($_REQUEST,'return')) ? $_REQUEST['return'] : '');
        if($return_path) {