Public federated items now always are having an entry with "uid=0"

This commit is contained in:
Michael 2018-04-23 11:14:25 +00:00
parent a25c07b162
commit ba35b19af6
5 changed files with 15 additions and 25 deletions

View file

@ -161,7 +161,8 @@ class Nav
}
}
if (local_user() || Config::get('system', 'community_page_style') != CP_NO_COMMUNITY_PAGE) {
if ((local_user() || Config::get('system', 'community_page_style') != CP_NO_COMMUNITY_PAGE) &&
!(Config::get('system', 'community_page_style') == CP_NO_INTERNAL_COMMUNITY)) {
$nav['community'] = ['community', L10n::t('Community'), '', L10n::t('Conversations on this and other servers')];
}