Merge pull request #5598 from annando/issue-3838

Added a note concerning the question how to fix issue 3838
This commit is contained in:
Tobias Diekershoff 2018-08-11 07:48:33 +02:00 committed by GitHub
commit bf5896d4e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -339,6 +339,8 @@ class Profile
$wallmessage = false;
$wallmessage_link = false;
// See issue https://github.com/friendica/friendica/issues/3838
// Either we remove the message link for remote users or we enable creating messages from remote users
if (remote_user() || (self::getMyURL() && x($profile, 'unkmail') && ($profile['uid'] != local_user()))) {
$wallmessage = L10n::t('Message');