mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-22 19:50:20 +00:00
don't provide option to block self
This commit is contained in:
parent
d72decea96
commit
2a63618dc7
2 changed files with 3 additions and 0 deletions
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