mirror of
https://github.com/friendica/friendica
synced 2024-12-23 07:20:15 +00:00
don't add notification details on new posts
This commit is contained in:
parent
89c5733ca5
commit
97806544bc
1 changed files with 4 additions and 4 deletions
|
@ -13,7 +13,7 @@ function ping_init(&$a) {
|
|||
$dislikes = array();
|
||||
$friends = array();
|
||||
|
||||
$r = q("SELECT `item`.`parent`, `item`.`verb`, `item`.`author-name`,
|
||||
$r = q("SELECT `item`.`id`,`item`.`parent`, `item`.`verb`, `item`.`author-name`,
|
||||
`item`.`author-link`, `item`.`author-avatar`, `item`.`created`,
|
||||
`pitem`.`author-name` as `pname`, `pitem`.`author-link` as `plink`
|
||||
FROM `item` INNER JOIN `item` as `pitem` ON `pitem`.`id`=`item`.`parent`
|
||||
|
@ -35,12 +35,12 @@ function ping_init(&$a) {
|
|||
$friends[] = $it;
|
||||
break;
|
||||
default:
|
||||
$comments[] = $it;
|
||||
if ($it['parent']!=$it['id']) $comments[] = $it;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$r = q("SELECT `item`.`parent`, `item`.`verb`, `item`.`author-name`,
|
||||
$r = q("SELECT `item`.`id`,`item`.`parent`, `item`.`verb`, `item`.`author-name`,
|
||||
`item`.`author-link`, `item`.`author-avatar`, `item`.`created`,
|
||||
`pitem`.`author-name` as `pname`, `pitem`.`author-link` as `plink`
|
||||
FROM `item` INNER JOIN `item` as `pitem` ON `pitem`.`id`=`item`.`parent`
|
||||
|
@ -61,7 +61,7 @@ function ping_init(&$a) {
|
|||
$friends[] = $it;
|
||||
break;
|
||||
default:
|
||||
$comments[] = $it;
|
||||
if ($it['parent']!=$it['id']) $comments[] = $it;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue