aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-08-15 17:43:19 -0700
committerfriendica <info@friendica.com>2013-08-15 17:43:19 -0700
commit764e0201ce8259c84a3b6ce643a52effe9dc8a59 (patch)
tree7be4dbbba28d8858d2ab2cdb7073df256704a445 /include/items.php
parentd46436dc9c115d29a18a29203bd12d3246472365 (diff)
downloadvolse-hubzilla-764e0201ce8259c84a3b6ce643a52effe9dc8a59.tar.gz
volse-hubzilla-764e0201ce8259c84a3b6ce643a52effe9dc8a59.tar.bz2
volse-hubzilla-764e0201ce8259c84a3b6ce643a52effe9dc8a59.zip
don't include archived contacts in public posts, unless specifically requested
Diffstat (limited to 'include/items.php')
-rwxr-xr-xinclude/items.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/items.php b/include/items.php
index 6d853323f..df49ba5c7 100755
--- a/include/items.php
+++ b/include/items.php
@@ -31,10 +31,11 @@ function collect_recipients($item,&$private) {
}
else {
$recipients = array();
- $r = q("select * from abook where abook_channel = %d and not (abook_flags & %d) and not (abook_flags & %d)",
+ $r = q("select * from abook where abook_channel = %d and not (abook_flags & %d) and not (abook_flags & %d) and not (abook_flags & %d)",
intval($item['uid']),
intval(ABOOK_FLAG_SELF),
- intval(ABOOK_FLAG_PENDING)
+ intval(ABOOK_FLAG_PENDING),
+ intval(ABOOK_FLAG_ARCHIVED)
);
if($r) {
foreach($r as $rr) {