don't provide option to block self
authorfriendica <info@friendica.com>
Thu, 12 Jan 2012 01:52:53 +0000 (17:52 -0800)
committerfriendica <info@friendica.com>
Thu, 12 Jan 2012 01:52:53 +0000 (17:52 -0800)
blockem.tgz
blockem/blockem.php

index 6345497..129a006 100644 (file)
Binary files a/blockem.tgz and b/blockem.tgz differ
index b0e4d80..43f3455 100644 (file)
@@ -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'])) {