diff options
author | Friendika <info@friendika.com> | 2011-08-28 19:22:27 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-08-28 19:22:27 -0700 |
commit | f29f228463d35f574d6d285be0cf337b7d39c541 (patch) | |
tree | aa7e977a25536397506c6c30f8e4d67eb85320d6 /include/delivery.php | |
parent | 030dcbd467d5faf01e6f62b9cd9b1be6f8974dcc (diff) | |
download | volse-hubzilla-f29f228463d35f574d6d285be0cf337b7d39c541.tar.gz volse-hubzilla-f29f228463d35f574d6d285be0cf337b7d39c541.tar.bz2 volse-hubzilla-f29f228463d35f574d6d285be0cf337b7d39c541.zip |
bring Diaspora message signing back to the source author - whether they like it or not.
Diffstat (limited to 'include/delivery.php')
-rw-r--r-- | include/delivery.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/delivery.php b/include/delivery.php index be4f3978c..0df8ea7e4 100644 --- a/include/delivery.php +++ b/include/delivery.php @@ -77,7 +77,10 @@ function delivery_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) ); |