conversation needs preview parameter
This commit is contained in:
parent
5beda888b8
commit
79012bf888
6 changed files with 8 additions and 8 deletions
|
@ -608,7 +608,7 @@ function item_post(&$a) {
|
|||
|
||||
if($preview) {
|
||||
require_once('include/conversation.php');
|
||||
$o = conversation($a,array(array_merge($contact_record,$datarray)),'search', false);
|
||||
$o = conversation($a,array(array_merge($contact_record,$datarray)),'search', false, true);
|
||||
logger('preview: ' . $o);
|
||||
echo json_encode(array('preview' => $o));
|
||||
killme();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue