sforkowany z mirror/friendica
don't show Message button to user on own profile page
rodzic
9dbe7efce5
commit
d5af6ebfc1
2
boot.php
2
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;
|
||||
|
|
Ładowanie…
Reference in New Issue