From d22d36be7d05d8589a876db6364f79a9589fc06e Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sun, 29 May 2016 22:13:08 +0200 Subject: [PATCH] Now with correct url --- include/identity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/identity.php b/include/identity.php index 2cb3bfd4c2..580539c071 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;