From 6eea312c213d34b21681b90a51bd83e6cfe936f4 Mon Sep 17 00:00:00 2001 From: Friendika Date: Sun, 23 Oct 2011 16:01:04 -0700 Subject: workaround for transmitting photos to D* --- include/diaspora.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/diaspora.php') diff --git a/include/diaspora.php b/include/diaspora.php index fa5973e7b..8c2640afc 100644 --- a/include/diaspora.php +++ b/include/diaspora.php @@ -1376,6 +1376,7 @@ function diaspora_send_status($item,$owner,$contact,$public_batch = false) { $body = $item['body']; +/* $cnt = preg_match_all('|\[img\](.*?)\[\/img\]|',$body,$matches,PREG_SET_ORDER); if($cnt) { foreach($matches as $mtch) { @@ -1389,6 +1390,7 @@ function diaspora_send_status($item,$owner,$contact,$public_batch = false) { $body = str_replace($detail['str'],$mtch[1],$body); } } +*/ $body = xmlify(html_entity_decode(bb2diaspora($body))); -- cgit v1.2.3