about summary refs log tree commit diff
path: root/app/models/instance.rb
diff options
context:
space:
mode:
authorMostafa Ahangarha <ahangarha@users.noreply.github.com>2019-09-05 01:00:49 +0430
committerEugen Rochko <eugen@zeonfederated.com>2019-09-04 22:30:49 +0200
commite974d4923fabd887416609bc6c8ca81ce81d0ff2 (patch)
treef7d302d31ec4bbc7da91ce01e2808c7dbf8fa527 /app/models/instance.rb
parentbdca8da8ebb133f9f2a01cd4881a2fc3f6852274 (diff)
Exclude URLs from text analysis (#11759)
By the added regex, URLs, including the one without http or even www
like mysite.com will be removed from the toot's body so only the real
text of the toot will be analyzed for RTL detection
Diffstat (limited to 'app/models/instance.rb')
0 files changed, 0 insertions, 0 deletions