Make post preview workable

This commit is contained in:
Michael 2022-04-29 12:34:10 +00:00
parent a2452b33eb
commit fdf70c1047

View file

@ -621,6 +621,9 @@ function item_post(App $a) {
$datarray["id"] = -1;
$datarray["uri-id"] = -1;
$datarray["author-network"] = Protocol::DFRN;
$datarray["author-updated"] = '';
$datarray["author-gsid"] = 0;
$datarray["owner-updated"] = '';
$o = DI::conversation()->create([array_merge($contact_record, $datarray)], 'search', false, true);