Browse Source

Update infoservlet.py

Turn comment out into a permament removal
Michael Kaye 5 years ago
parent
commit
a6cd39bd1d
1 changed files with 0 additions and 6 deletions
  1. 0 6
      sydent/http/servlets/infoservlet.py

+ 0 - 6
sydent/http/servlets/infoservlet.py

@@ -65,12 +65,6 @@ class InfoServlet(Resource):
         if self.sydent.nonshadow_ips and ip not in self.sydent.nonshadow_ips:
             # This user is not whitelisted, present shadow_hs at their only hs
             result['hs'] = result.pop('shadow_hs', None)
-# 
-# Temporary removal of this code, we want the ability to not set a shadow_hs at all.
-# 
-#        else:
-#            # This user is whitelisted, ensure shadow_hs exists even if empty
-#            result['shadow_hs'] = result.get('shadow_hs', '')
 
         # Non-internal. Remove 'requires_invite' if found
         result.pop('requires_invite', None)