diff --git a/include/identity.php b/include/identity.php index 2cb3bfd4c..580539c07 100644 --- a/include/identity.php +++ b/include/identity.php @@ -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;