]> git.mxchange.org Git - friendica.git/commitdiff
OStatus: Force parent when storing item.
authorMichael Vogel <icarus@dabo.de>
Sun, 14 Jun 2015 08:56:57 +0000 (10:56 +0200)
committerMichael Vogel <icarus@dabo.de>
Sun, 14 Jun 2015 08:56:57 +0000 (10:56 +0200)
include/ostatus.php

index 4e70514e54bbe7b27199abc88910e0618b90e436..74196b56a3be2479021d42410c023b942a40ce78 100644 (file)
@@ -376,7 +376,7 @@ function ostatus_import($xml,$importer,&$contact, &$hub) {
                } else
                        $item["parent-uri"] = $item["uri"];
 
-               $item_id = item_store($item);
+               $item_id = item_store($item, true);
                //echo $xml;
                //print_r($item);
                //echo $item_id." ".$item["parent-uri"]."\n";