]> git.mxchange.org Git - friendica.git/blobdiff - mod/update_network.php
fix scroll position in stream while ajax update
[friendica.git] / mod / update_network.php
index 962701627a2979d68c30b77e540a197f1f45771d..6c02e4a8fabf98ad212b5e6153f8cabead1f4136 100644 (file)
@@ -25,10 +25,6 @@ function update_network_content(App $a)
                $text = "";
        }
 
-       $pattern = "/<img([^>]*) src=\"([^\"]*)\"/";
-       $replace = "<img\${1} dst=\"\${2}\"";
-       $text = preg_replace($pattern, $replace, $text);
-
        if (PConfig::get(local_user(), "system", "bandwidth_saver")) {
                $replace = "<br />" . L10n::t("[Embedded content - reload page to view]") . "<br />";
                $pattern = "/<\s*audio[^>]*>(.*?)<\s*\/\s*audio>/i";