aboutsummaryrefslogtreecommitdiffstats
path: root/mod/viewconnections.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-07-16 22:32:18 -0700
committerfriendica <info@friendica.com>2014-07-16 22:32:18 -0700
commitde97073e135d1efec8a7792cbe6a0ac09b227e99 (patch)
treef1ad90756ed9b0a00197583014eee2a8ad2015a6 /mod/viewconnections.php
parent98e85917bb0c12765f5ca42c49c0e64a348952ea (diff)
downloadvolse-hubzilla-de97073e135d1efec8a7792cbe6a0ac09b227e99.tar.gz
volse-hubzilla-de97073e135d1efec8a7792cbe6a0ac09b227e99.tar.bz2
volse-hubzilla-de97073e135d1efec8a7792cbe6a0ac09b227e99.zip
don't subdue archived connections in viewconnections
Diffstat (limited to 'mod/viewconnections.php')
-rw-r--r--mod/viewconnections.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/viewconnections.php b/mod/viewconnections.php
index b6a6b483c..40ce28efe 100644
--- a/mod/viewconnections.php
+++ b/mod/viewconnections.php
@@ -33,7 +33,7 @@ function viewconnections_content(&$a) {
$abook_flags = ABOOK_FLAG_PENDING|ABOOK_FLAG_SELF;
$xchan_flags = XCHAN_FLAGS_ORPHAN|XCHAN_FLAGS_DELETED;
if(! $is_owner) {
- $abook_flags = $abook_flags | ABOOK_FLAGS_HIDDEN;
+ $abook_flags = $abook_flags | ABOOK_FLAG_HIDDEN;
$xchan_flags = $xchan_flags | XCHAN_FLAGS_HIDDEN;
}
@@ -67,6 +67,7 @@ function viewconnections_content(&$a) {
if($url) {
$contacts[] = array(
'id' => $rr['abook_id'],
+ 'archived' => (($rr['abook_flags'] & ABOOK_FLAG_ARCHIVED) ? true : false),
'img_hover' => sprintf( t('Visit %s\'s profile [%s]'), $rr['xchan_name'], $rr['xchan_url']),
'thumb' => $rr['xchan_photo_m'],
'name' => substr($rr['xchan_name'],0,20),