diff options
author | redmatrix <git@macgirvin.com> | 2016-04-03 16:41:40 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-04-03 16:41:40 -0700 |
commit | bf3f3564e08754c3f91524798523839ae7b9094c (patch) | |
tree | f1da047c364df5de64eb9467663787d2e5c6c0b3 /include/nav.php | |
parent | 102d41ccb96f67363d50941f5ce4ca9bfd2ae6d5 (diff) | |
download | volse-hubzilla-bf3f3564e08754c3f91524798523839ae7b9094c.tar.gz volse-hubzilla-bf3f3564e08754c3f91524798523839ae7b9094c.tar.bz2 volse-hubzilla-bf3f3564e08754c3f91524798523839ae7b9094c.zip |
issue #138 ; make ajaxchat optional and configurable. For reasons we've discussed repeatedly the ajax chat will not be removed from core as XMPP chat does not provide decentralised access control compatible with nomadic identity.
Diffstat (limited to 'include/nav.php')
-rw-r--r-- | include/nav.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/nav.php b/include/nav.php index 3f5c7963a..201882fd1 100644 --- a/include/nav.php +++ b/include/nav.php @@ -92,7 +92,7 @@ EOT; $nav['usermenu'][] = Array('photos/' . $channel['channel_address'], t('Photos'), "", t('Your photos'),'photos_nav_btn'); $nav['usermenu'][] = Array('cloud/' . $channel['channel_address'],t('Files'),"",t('Your files'),'cloud_nav_btn'); - if(! UNO) + if((! UNO) && feature_enabled(local_channel(),'ajaxchat')) $nav['usermenu'][] = Array('chat/' . $channel['channel_address'], t('Chat'),"",t('Your chatrooms'),'chat_nav_btn'); |