diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/wall_upload.php | 5 |
1 files changed, 4 insertions, 1 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(); |