mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 10:04:26 +02:00
New configuration to disable the automatic mentions removal
This commit is contained in:
parent
a29b6f17e2
commit
d4baa25349
2 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue