Add an config item to hide following
This commit is contained in:
parent
c01cc39e20
commit
ac5f349d0f
3 changed files with 6 additions and 1 deletions
3
app.py
3
app.py
|
@ -1618,6 +1618,9 @@ def following():
|
|||
)
|
||||
)
|
||||
|
||||
if config.HIDE_FOLLOWING:
|
||||
abort(404)
|
||||
|
||||
following, older_than, newer_than = paginated_query(DB.activities, q)
|
||||
following = [
|
||||
(doc["remote_id"], get_backend().fetch_iri(doc["activity"]["object"]))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue