fix bug #84, make imported messages from your clones show up on your wall

This commit is contained in:
friendica
2013-07-29 17:30:46 -07:00
parent 092ef64ac7
commit 7b3c29ebe6
6 changed files with 30 additions and 3 deletions

View File

@@ -580,6 +580,9 @@ function item_post(&$a) {
}
if(mb_strlen($datarray['title']) > 255)
$datarray['title'] = mb_substr($datarray['title'],0,255);
if(array_key_exists('item_private',$datarray) && $datarray['item_private']) {
logger('Encrypting local storage');
$key = get_config('system','pubkey');