From: Michael Vogel Date: Sun, 19 Jul 2020 01:21:15 +0000 (+0200) Subject: Support newline as block contact separator X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d6a35c699558d8a592a23c2ba33bf48e5cad808e;p=friendica.git Support newline as block contact separator --- diff --git a/include/conversation.php b/include/conversation.php index 8507c5ba97..8050296a56 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -316,7 +316,7 @@ function conv_get_blocklist() 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)) { return []; }