]> git.mxchange.org Git - friendica.git/blobdiff - include/text.php
Merge pull request #7711 from annando/gserver-2
[friendica.git] / include / text.php
index 3d6bf6a5638943a23bae3245033bb21f766ad171..2050e57026e77453560e4a81f6e53f56358289e7 100644 (file)
@@ -122,7 +122,7 @@ function redir_private_images($a, &$item)
                        }
 
                        if ((local_user() == $item['uid']) && ($item['private'] == 1) && ($item['contact-id'] != $a->contact['id']) && ($item['network'] == Protocol::DFRN)) {
-                               $img_url = 'redir?f=1&quiet=1&url=' . urlencode($mtch[1]) . '&conurl=' . urlencode($item['author-link']);
+                               $img_url = 'redir/' . $item['contact-id'] . '?url=' . urlencode($mtch[1]);
                                $item['body'] = str_replace($mtch[0], '[img]' . $img_url . '[/img]', $item['body']);
                        }
                }