fix attachment rendering for preview
This commit is contained in:
parent
057d885baf
commit
76106e16d5
@ -651,6 +651,7 @@ function item_post(&$a) {
|
||||
|
||||
$datarray['owner'] = $owner_xchan;
|
||||
$datarray['author'] = $observer;
|
||||
$datarray['attach'] = json_encode($datarray['attach']);
|
||||
$o = conversation($a,array($datarray),'search',false,'preview');
|
||||
logger('preview: ' . $o, LOGGER_DEBUG);
|
||||
echo json_encode(array('preview' => $o));
|
||||
|
Reference in New Issue
Block a user