aboutsummaryrefslogtreecommitdiffstats
path: root/include/diaspora.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-10-23 16:01:04 -0700
committerFriendika <info@friendika.com>2011-10-23 16:01:04 -0700
commit6eea312c213d34b21681b90a51bd83e6cfe936f4 (patch)
tree3bc646c633be022e3071bc8939bb22b89b6c8a70 /include/diaspora.php
parent0b2c5bf8f54326626c28906c7181e546b56e6c44 (diff)
downloadvolse-hubzilla-6eea312c213d34b21681b90a51bd83e6cfe936f4.tar.gz
volse-hubzilla-6eea312c213d34b21681b90a51bd83e6cfe936f4.tar.bz2
volse-hubzilla-6eea312c213d34b21681b90a51bd83e6cfe936f4.zip
workaround for transmitting photos to D*
Diffstat (limited to 'include/diaspora.php')
-rw-r--r--include/diaspora.php2
1 files changed, 2 insertions, 0 deletions
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)));