]> git.mxchange.org Git - friendica.git/blobdiff - boot.php
Merge pull request #603 from fermionic/20130204-info-message-shown-on-redir
[friendica.git] / boot.php
index 70f16209a7951830d94286cfdd30cc515465f924..6db4de3d952bc246d829fc445b0d761ae6de0f98 100644 (file)
--- 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;