potential solution to Friendica for Android photo uploads, which aren't working on Red currently.
This commit is contained in:
parent
52df14d80d
commit
2c9e6bb10f
@ -52,8 +52,11 @@ function wall_upload_post(&$a) {
|
|||||||
|
|
||||||
$m = $ret['body'];
|
$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)
|
if($using_api)
|
||||||
return($ret['body']);
|
return(str_replace(array('zrl','zmg'),array('url','img'),$ret['body']));
|
||||||
else
|
else
|
||||||
echo "\n\n" . $ret['body'] . "\n\n";
|
echo "\n\n" . $ret['body'] . "\n\n";
|
||||||
killme();
|
killme();
|
||||||
|
@ -1 +1 @@
|
|||||||
2013-07-22.382
|
2013-07-23.383
|
||||||
|
Reference in New Issue
Block a user