bring Diaspora message signing back to the source author - whether they like it or not.

This commit is contained in:
Friendika 2011-08-28 19:22:27 -07:00
parent 030dcbd467
commit f29f228463
6 changed files with 107 additions and 33 deletions

View file

@ -109,7 +109,8 @@ function notifier_run($argv, $argc){
$uid = $r[0]['uid'];
$updated = $r[0]['edited'];
$items = q("SELECT * FROM `item` WHERE `parent` = %d ORDER BY `id` ASC",
$items = q("SELECT `item`.*, `sign`.`signed_text`,`sign`.`signature`,`sign`.`signer`
FROM `item` LEFT JOIN `sign` ON `sign`.`iid` = `item`.`id` WHERE `parent` = %d ORDER BY `id` ASC",
intval($parent_id)
);