ensure zot messages with 'deleted' items set 'created' as a fallback to ensure the message isn't tossed.

This commit is contained in:
friendica 2013-01-26 22:24:08 -08:00
parent 3e096e4a42
commit 0c67ce57e3

View File

@ -546,7 +546,8 @@ function encode_item($item) {
if($item['item_restrict'] & ITEM_DELETED) { if($item['item_restrict'] & ITEM_DELETED) {
$x['message_id'] = $item['uri']; $x['message_id'] = $item['uri'];
$x['flags'] = array('deleted'); $x['created'] = $item['created'];
$x['flags'] = array('deleted');
return $x; return $x;
} }