feat: strip prefixes and suffixes in links (#5486)
This commit is contained in:
@@ -14,7 +14,7 @@ bool LinkPredicate::appliesToImpl(const Message &message)
|
||||
{
|
||||
for (const auto &word : message.messageText.split(' ', Qt::SkipEmptyParts))
|
||||
{
|
||||
if (LinkParser(word).result())
|
||||
if (linkparser::parse(word).has_value())
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user