From: Zach Prezkuta Date: Tue, 5 Feb 2013 03:14:50 +0000 (-0700) Subject: don't show Message button to user on own profile page X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d5af6ebfc1830f983c3552925472e4c206c1b38b;p=friendica.git don't show Message button to user on own profile page --- diff --git a/boot.php b/boot.php index 3064b817d2..bb0b2ab7ff 100644 --- a/boot.php +++ b/boot.php @@ -1327,7 +1327,7 @@ if(! function_exists('profile_sidebar')) { } } - if(get_my_url() && $profile['unkmail']) + if( get_my_url() && $profile['unkmail'] && ($profile['uid'] != local_user()) ) $wallmessage = t('Message'); else $wallmessage = false;