]> git.mxchange.org Git - friendica-addons.git/blobdiff - pumpio/pumpio.php
The "id" field is now filled in the notifications. This is needed for the new condens...
[friendica-addons.git] / pumpio / pumpio.php
index 2b8cc6d8b9bdabaab3dbf39a49419770a924d181..dc4a6a420ed376c2b24d94c7ce1c2a17825222bc 100644 (file)
@@ -1250,6 +1250,7 @@ function pumpio_dopost(&$a, $client, $uid, $self, $post, $own_id, $threadcomplet
                return false;
 
        $top_item = item_store($postarray);
+       $postarray["id"] = $top_item;
 
        if (($top_item == 0) AND ($post->verb == "update")) {
                $r = q("UPDATE `item` SET `title` = '%s', `body` = '%s' , `changed` = '%s' WHERE `uri` = '%s' AND `uid` = %d",