forked from friendica/friendica-addons
don't provide option to block self
This commit is contained in:
parent
d72decea96
commit
2a63618dc7
BIN
blockem.tgz
BIN
blockem.tgz
Binary file not shown.
|
@ -143,6 +143,9 @@ EOT;
|
||||||
|
|
||||||
function blockem_item_photo_menu(&$a,&$b) {
|
function blockem_item_photo_menu(&$a,&$b) {
|
||||||
|
|
||||||
|
if((! local_user()) || ($b['item']['self']))
|
||||||
|
return;
|
||||||
|
|
||||||
$blocked = false;
|
$blocked = false;
|
||||||
$author = $b['item']['author-link'];
|
$author = $b['item']['author-link'];
|
||||||
if(is_array($a->data['blockem'])) {
|
if(is_array($a->data['blockem'])) {
|
||||||
|
|
Loading…
Reference in a new issue