Support newline as block contact separator
This commit is contained in:
parent
2ad5bd9b9c
commit
d6a35c6995
|
@ -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 [];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue