From 0a6916e1b9ad3607840077ae568f13e1175496b3 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Fri, 9 Dec 2016 00:49:55 -0800 Subject: superblock issue + string update --- include/conversation.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/conversation.php') diff --git a/include/conversation.php b/include/conversation.php index 0f61eea27..b9f390def 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -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; } } -- cgit v1.2.3