]> git.mxchange.org Git - friendica.git/commitdiff
never enough comments
authorFriendika <info@friendika.com>
Mon, 24 Oct 2011 02:05:32 +0000 (19:05 -0700)
committerFriendika <info@friendika.com>
Mon, 24 Oct 2011 02:05:32 +0000 (19:05 -0700)
include/diaspora.php

index 8c2640afc2fc63a95fb1be75fb2317ecee1fc46a..2379ae8e3ec5a262afe7cd129555c6fa8e3b85dc 100644 (file)
@@ -1377,6 +1377,13 @@ function diaspora_send_status($item,$owner,$contact,$public_batch = false) {
        $body = $item['body'];
 
 /*
+       // We're trying to match Diaspora's split message/photo protocol but
+       // all the photos are displayed on D* as links and not img's - even
+       // though we're sending pretty much precisely what they send us when
+       // doing the same operation.  
+       // Commented out for now, we'll use bb2diaspora to convert photos to markdown
+       // which seems to get through intact.
+
        $cnt = preg_match_all('|\[img\](.*?)\[\/img\]|',$body,$matches,PREG_SET_ORDER);
        if($cnt) {
                foreach($matches as $mtch) {