]> git.mxchange.org Git - friendica-addons.git/blobdiff - statusnet/statusnet.php
The "id" field is now filled in the notifications. This is needed for the new condens...
[friendica-addons.git] / statusnet / statusnet.php
index f0099d94d39bbcf0da53182382a0a5d6e8a556ec..4a5a95b81724176df1a8c21a3635bcae8e3319c4 100644 (file)
@@ -1422,6 +1422,7 @@ function statusnet_fetchhometimeline($a, $uid) {
                                        continue;
 
                                $item = item_store($postarray);
+                               $postarray["id"] = $item;
 
                                logger('statusnet_fetchhometimeline: User '.$self["nick"].' posted home timeline item '.$item);
 
@@ -1471,6 +1472,7 @@ function statusnet_fetchhometimeline($a, $uid) {
                                        continue;
 
                                        $item = item_store($postarray);
+                                       $postarray["id"] = $item;
 
                                        logger('statusnet_fetchhometimeline: User '.$self["nick"].' posted mention timeline item '.$item);
                                }
@@ -1535,6 +1537,7 @@ function statusnet_complete_conversation($a, $uid, $self, $create_user, $nick, $
 
                        //print_r($postarray);
                        $item = item_store($postarray);
+                       $postarray["id"] = $item;
 
                        logger('statusnet_complete_conversation: User '.$self["nick"].' posted home timeline item '.$item);