New configuration to disable the automatic mentions removal
This commit is contained in:
@@ -689,6 +689,10 @@ class Processor
|
||||
*/
|
||||
private static function removeImplicitMentionsFromBody($body, array $implicit_mentions)
|
||||
{
|
||||
if (Config::get('system', 'disable_mentions_removal')) {
|
||||
return;
|
||||
}
|
||||
|
||||
$kept_mentions = [];
|
||||
|
||||
// Extract one prepended mention at a time from the body
|
||||
|
||||
Reference in New Issue
Block a user