sforkowany z mirror/friendica
Merge pull request #8897 from annando/block-separator
Support newline as block contact separator2022.09-rc
commit
0bdd635b50
|
@ -316,7 +316,7 @@ function conv_get_blocklist()
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
||||||
$str_blocked = DI::pConfig()->get(local_user(), 'system', 'blocked');
|
$str_blocked = str_replace(["\n", "\r"], ",", DI::pConfig()->get(local_user(), 'system', 'blocked'));
|
||||||
if (empty($str_blocked)) {
|
if (empty($str_blocked)) {
|
||||||
return [];
|
return [];
|
||||||
}
|
}
|
||||||
|
|
Ładowanie…
Reference in New Issue