]> git.mxchange.org Git - friendica.git/commitdiff
Now with correct url
authorMichael Vogel <icarus@dabo.de>
Sun, 29 May 2016 20:13:08 +0000 (22:13 +0200)
committerMichael Vogel <icarus@dabo.de>
Sun, 29 May 2016 20:13:08 +0000 (22:13 +0200)
include/identity.php

index 2cb3bfd4c2c8a24ea9cc0c77be61f5ee1b04393f..580539c07155cbd4e106b08394b2ada65350401b 100644 (file)
@@ -264,7 +264,7 @@ function profile_sidebar($profile, $block = 0) {
                if ($r) {
                        $remote_url = $r[0]["url"];
                        $message_path = preg_replace("=(.*)/profile/(.*)=ism", "$1/message/new/", $remote_url);
-                       $wallmessage_link = $message_path.base64_encode($remote_url);
+                       $wallmessage_link = $message_path.base64_encode($profile["addr"]);
                }
        } else {
                $wallmessage = false;