feat: strip prefixes and suffixes in links (#5486)
This commit is contained in:
@@ -152,10 +152,10 @@ bool appendWhisperMessageWordsLocally(const QStringList &words)
|
||||
void operator()(const QString &string,
|
||||
MessageBuilder &b) const
|
||||
{
|
||||
LinkParser parser(string);
|
||||
if (parser.result())
|
||||
auto link = linkparser::parse(string);
|
||||
if (link)
|
||||
{
|
||||
b.addLink(*parser.result());
|
||||
b.addLink(*link, string);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user