superblock issue + string update

This commit is contained in:
zotlabs
2016-12-09 00:49:55 -08:00
parent e419a034b7
commit 0a6916e1b9
2 changed files with 109 additions and 105 deletions

View File

@@ -790,7 +790,7 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional', $
if($arr_blocked) {
$blocked = false;
foreach($arr_blocked as $b) {
if(($b) && ($item['author_xchan'] == $b)) {
if(($b) && (($item['author_xchan'] == $b) || $item['owner_xchan'] == $b)) {
$blocked = true;
break;
}
@@ -804,7 +804,7 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional', $
if($arr_blocked && $item['children']) {
for($d = 0; $d < count($item['children']); $d ++) {
foreach($arr_blocked as $b) {
if(($b) && ($item['children'][$d]['author_xchan'] == $b))
if(($b) && (($item['children'][$d]['author_xchan'] == $b) || ($item['children'][$d]['owner_xchan'] == $b)))
$item['children'][$d]['author_blocked'] = true;
}
}