You've got mail! (actually a post, mail is for another day)

This commit is contained in:
friendica
2012-11-26 21:20:16 -08:00
parent ed9d7257b0
commit 941c554031
3 changed files with 98 additions and 12 deletions

View File

@@ -79,7 +79,7 @@ function post_post(&$a) {
$ret['success'] = true;
$ret['pickup'] = array();
foreach($r as $rr) {
$ret['pickup'][] = array('notify' => $rr['outq_notify'],'message' => $rr['outq_msg']);
$ret['pickup'][] = array('notify' => json_decode($rr['outq_notify'],true),'message' => json_decode($rr['outq_msg'],true));
$x = q("delete from outq where outq_hash = '%s' limit 1",
dbesc($rr['outq_hash'])