From: friendica Date: Thu, 12 Jan 2012 01:52:53 +0000 (-0800) Subject: don't provide option to block self X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2a63618dc78fed9d77a7557ed3236c7ed342327f;p=friendica-addons.git don't provide option to block self --- diff --git a/blockem.tgz b/blockem.tgz index 63454971..129a0065 100644 Binary files a/blockem.tgz and b/blockem.tgz differ diff --git a/blockem/blockem.php b/blockem/blockem.php index b0e4d805..43f34554 100644 --- a/blockem/blockem.php +++ b/blockem/blockem.php @@ -143,6 +143,9 @@ EOT; function blockem_item_photo_menu(&$a,&$b) { + if((! local_user()) || ($b['item']['self'])) + return; + $blocked = false; $author = $b['item']['author-link']; if(is_array($a->data['blockem'])) {