]> git.mxchange.org Git - friendica.git/blobdiff - include/api.php
Merge pull request #9021 from annando/removed-unused
[friendica.git] / include / api.php
index 869ece0d7c8c301de60bbc73a4dd987298c7be20..5ae4754b57c9ed80ddaf3b3d01372a30651e750a 100644 (file)
@@ -5710,7 +5710,7 @@ function api_friendica_activity($type)
 
        $id = $_REQUEST['id'] ?? 0;
 
-       $res = Item::performActivity($id, $verb);
+       $res = Item::performActivity($id, $verb, api_user());
 
        if ($res) {
                if ($type == "xml") {