From 2c9e6bb10f8b3e08698e03d63d57186adc64098a Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 23 Jul 2013 20:17:10 -0700 Subject: potential solution to Friendica for Android photo uploads, which aren't working on Red currently. --- mod/wall_upload.php | 5 ++++- version.inc | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/mod/wall_upload.php b/mod/wall_upload.php index 0d24755d2..dd5d760b3 100644 --- a/mod/wall_upload.php +++ b/mod/wall_upload.php @@ -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(); diff --git a/version.inc b/version.inc index dc81b067f..a4dd3e760 100644 --- a/version.inc +++ b/version.inc @@ -1 +1 @@ -2013-07-22.382 +2013-07-23.383 -- cgit v1.2.3