enotify: localize things we know how to translate

This commit is contained in:
friendica
2013-08-05 17:32:33 -07:00
parent c86dfd2e0c
commit c965ed2bb6
4 changed files with 15 additions and 9 deletions

View File

@@ -91,10 +91,6 @@ function item_redir_and_replace_images($body, $images, $cid) {
function localize_item(&$item){
$extracted = item_extract_images($item['body']);
if($extracted['images'])
$item['body'] = item_redir_and_replace_images($extracted['body'], $extracted['images'], $item['contact-id']);
if (activity_match($item['verb'],ACTIVITY_LIKE) || activity_match($item['verb'],ACTIVITY_DISLIKE)){
$obj= json_decode($item['object'],true);