Author: toad
Date: 2007-12-11 19:27:29 +0000 (Tue, 11 Dec 2007)
New Revision: 16501

Modified:
   trunk/freenet/src/freenet/clients/http/OpennetConnectionsToadlet.java
Log:
Only show the noderef box on Strangers if advanced mode is enabled.

Modified: trunk/freenet/src/freenet/clients/http/OpennetConnectionsToadlet.java
===================================================================
--- trunk/freenet/src/freenet/clients/http/OpennetConnectionsToadlet.java       
2007-12-11 18:34:22 UTC (rev 16500)
+++ trunk/freenet/src/freenet/clients/http/OpennetConnectionsToadlet.java       
2007-12-11 19:27:29 UTC (rev 16501)
@@ -54,8 +54,7 @@

        protected boolean shouldDrawNoderefBox(boolean advancedModeEnabled) {
                // Developers may want to see the noderef.
-               // Users as well until the announcement protocol is implemented
-               return true;
+               return advancedModeEnabled;
        }

        protected boolean showPeerActionsBox() {


Reply via email to