The "id" field is now filled in the notifications. This is needed for the new condensed notifications.

This commit is contained in:
Michael Vogel 2015-04-26 14:43:42 +02:00
parent 7ec2161567
commit bcd20d5763
4 changed files with 12 additions and 0 deletions

View file

@ -1623,6 +1623,7 @@ function twitter_fetchhometimeline($a, $uid) {
continue;
$item = item_store($postarray);
$postarray["id"] = $item;
logger('twitter_fetchhometimeline: User '.$self["nick"].' posted home timeline item '.$item);
@ -1666,6 +1667,7 @@ function twitter_fetchhometimeline($a, $uid) {
continue;
$item = item_store($postarray);
$postarray["id"] = $item;
if (!isset($postarray["parent"]) OR ($postarray["parent"] == 0))
$postarray["parent"] = $item;