potential solution to Friendica for Android photo uploads, which aren't working on Red currently.

This commit is contained in:
friendica 2013-07-23 20:17:10 -07:00
parent 52df14d80d
commit 2c9e6bb10f
2 changed files with 5 additions and 2 deletions

View File

@ -52,8 +52,11 @@ function wall_upload_post(&$a) {
$m = $ret['body'];
// This might make Friendica for Android uploads work again, as it won't have any knowledge of zrl and zmg tags
// and these tags probably aren't useful with other client apps.
if($using_api)
return($ret['body']);
return(str_replace(array('zrl','zmg'),array('url','img'),$ret['body']));
else
echo "\n\n" . $ret['body'] . "\n\n";
killme();

View File

@ -1 +1 @@
2013-07-22.382
2013-07-23.383