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

@ -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);