Browse Source

flag top level post

pull/1/head
Friendika 9 years ago
parent
commit
51615f57ac
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      include/delivery.php

+ 3
- 1
include/delivery.php View File

@ -108,8 +108,10 @@ function delivery_run($argv, $argc){
$item['deleted'] = 1;
}
if(count($items) == 1 && $items[0]['uri'] === $items[0]['parent-uri'])
if((count($items) == 1) && ($items[0]['uri'] === $items[0]['parent-uri'])) {
logger('delivery: top level post');
$top_level = true;
}
}
$r = q("SELECT `contact`.*, `user`.`pubkey` AS `upubkey`, `user`.`prvkey` AS `uprvkey`,


Loading…
Cancel
Save