Skip to content

Commit

Permalink
reduce fingerprinting information: trackers
Browse files Browse the repository at this point in the history
  • Loading branch information
caryoscelus committed Nov 14, 2022
1 parent 9f8524f commit f2884f3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Ui/UiWebsocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,11 @@ def formatServerInfo(self):
return back

def formatAnnouncerInfo(self, site):
return {"address": site.address, "stats": site.announcer.stats}
if "ADMIN" in self.site.settings['permissions']:
stats = site.announcer.stats
else:
stats = {}
return {"address": site.address, "stats": stats}

# - Actions -

Expand Down

0 comments on commit f2884f3

Please sign in to comment.