Remove block/ignore links from contact/item action menus for self
This commit is contained in:
@@ -223,9 +223,12 @@ class Post
|
||||
$drop = [
|
||||
'dropping' => $dropping,
|
||||
'pagedrop' => $item['pagedrop'],
|
||||
'select' => DI::l10n()->t('Select'),
|
||||
'delete' => $delete,
|
||||
'select' => DI::l10n()->t('Select'),
|
||||
'delete' => $delete,
|
||||
];
|
||||
}
|
||||
|
||||
if (!$item['self']) {
|
||||
$block = [
|
||||
'blocking' => true,
|
||||
'block' => DI::l10n()->t('Block %s', $item['author-name']),
|
||||
|
||||
Reference in New Issue
Block a user