summaryrefslogtreecommitdiff
path: root/lib/common.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-11-20 13:37:22 -0500
committerEvan Prodromou <evan@prodromou.name>2008-11-20 13:37:22 -0500
commit35407614bb6287e96f5c08194eb0fa7ea1b71339 (patch)
treeee6aa6819b0ffdd9f64a093133aa614c9b728742 /lib/common.php
parent7877e86506877c92165602d322e587105ffe4b7d (diff)
hide certain users from the public stream
On identi.ca, certain users (http://identi.ca/derricklo) publish 5-10 automated notices every half hour or hour. This can flood the public stream, making it unreadable for casual readers. We don't want to prevent anyone from using the site for personal use. However, if their personal use clouds up the public space, we can gently remove them from that public space without interfering with their personal activity. So: this change prevents selected people's notices from appearing in the public stream. It's hand-configured by an administrator, and probably doesn't scale beyond 10-20 blacklisted users. It's a stopgap measure. darcs-hash:20081120183722-84dde-8a8401fbcbb6abb60a8b36de249323586ea0b22c.gz
Diffstat (limited to 'lib/common.php')
-rw-r--r--lib/common.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/common.php b/lib/common.php
index 72965a358..2ab9c616c 100644
--- a/lib/common.php
+++ b/lib/common.php
@@ -86,7 +86,8 @@ $config =
'avatar' =>
array('server' => NULL),
'public' =>
- array('localonly' => true),
+ array('localonly' => true,
+ 'blacklist' => array()),
'theme' =>
array('server' => NULL),
'xmpp' =>